In the development application will often encounter to call prototype and jquery at the same time, but they will have conflicts, let's look at the conflict resolution
The method is as follows:
1, put the jquery.js behind the prototype.js (this is necessary or, in any case, to strike).
2. After jquery.js, rename the $ variable.
Code
<script type= "text/web Effects" type= "Text/javascript" src= "Window.js" ></script>
<!--the above Window.js calls the jquery framework approach-->
<script type= "Text/javascript" type= "Text/javascript" src= "Prototype.js" ></script>
<script type= "Text/javascript" src= "Jquery.js" ></script>
<script type= "Text/javascript" >
var jquery=$;
</script>
3. Replace the original $ method name with the jquery name, such as $ ("obj"), and replace it with jquery ("obj").
Note: Var jquery=$ of which the jquery name can be freely obtained under the premise of no conflict.