Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.

jQuery script conflicting?

Ads
make money online
ivan Offline referral

Posts: 717
Joined: Jul 2013
Reputation: 6

#1
Senior Member
How do I stop jQuery conflicting with my other JavaScript? I am using jQuery 1.8 and since I started using it some of my JavaScript stopped working!

PHP Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> 
marcus_avrelius Offline referral

Posts: 2,515
Joined: May 2013
Reputation: 107

#2
Support Team
To stop jQuery from conflicting with other scripts simply add this code to the page where you use jQuery!

PHP Code:
<script type="text/javascript">jQuery.noConflict();</script> 

Smile
ivan Offline referral

Posts: 717
Joined: Jul 2013
Reputation: 6

#3
Senior Member
Thanks @Marcus very much fixed the issue now works great Smile



Google this topic


User(s) browsing this thread: 1 Guest(s)