Click here to Skip to main content
16,015,900 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello,
I am working on a online shopping mall website.
In this I using two type of jquery first zoom product on onmouseover and second slider image.
But both jquery don't working together. they work only single at a time.
I am using following js.

HTML
<script src="a/all.js" type="text/javascript"></script>
<script type="text/javascript" src="a_data/jquery.js"></script>


How can I use both js at a time.
Posted
Updated 26-Jan-13 2:59am
v3

1 solution

It seems this issue occurred due to the conflict with two jquery file.
There are several way to overcome this.

One way is using jQuery.noConflict() method.
http://api.jquery.com/jQuery.noConflict/[^]

Also you avoid this by using the full jquery alias
http://stackoverflow.com/questions/5203955/conflict-with-2-javascript-files[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900