I have a problem with jquery loading because prototype.
This is script that I use:

<script type="text/javascript" src="prototype.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
...
..
..
<script language="javascript">
function show(obj,msg){
messageBox.style.top=obj.offsetTop
messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5
contents.innerHTML=msg+"<p>"+obj.href
messageBox.style.display="block"
}
</script>

Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I change $ to jQuery but in this script that I show you above I don't have any $ symbol, I don't have anything to change it's simple script. I've tried a lot of things, to put jQuery.noConflict() after script, to change script place, but without success. The script works only if I delete prototype.js row.
I hope that the solution is simple, maybe I'm just too tired.

Thank in advance!

// Script source: Click Here Post: #2

Member Avatar for LastMitch

Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I change $ to jQuery but in this script that I show you above I don't have any $ symbol, I don't have anything to change it's simple script. I've tried a lot of things, to put jQuery.noConflict() after script, to change script place, but without success. The script works only if I delete prototype.js row.
I hope that the solution is simple, maybe I'm just too tired.

You can take a look at here (there are a couple of ways to work around it):

http://forum.jquery.com/topic/jquery-conflicts-with-prototype-and-the-fix

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.