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

Thread: 

jQuery script conflicting?

Ads
ivan Offline referral

Posts: 713
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,424
Joined: May 2013
Reputation: 102

#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: 713
Joined: Jul 2013
Reputation: 6

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





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