Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-18-2009, 07:57 AM   PM User | #1
Jorge05r
New to the CF scene

 
Join Date: Jun 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Jorge05r is an unknown quantity at this point
Multiple jquery codes interrupting each other (help)

I'm working on a site which has a jquery drop down menu and a left column with sliding tabs.

One has jquery-1.2.3.min.js and the other jquery-1.3.2.min.js but when I have both at the same time, the drop down stops working and vice versa.

What is the best way to have multiple jquery scripts/codes without one interrupting the other one from working properly?
Jorge05r is offline   Reply With Quote
Old 06-18-2009, 05:38 PM   PM User | #2
Fumigator
UE Antagonizer


 
Fumigator's Avatar
 
Join Date: Dec 2005
Location: Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
Posts: 7,686
Thanks: 42
Thanked 637 Times in 625 Posts
Fumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of lightFumigator is a glorious beacon of light
Why would you want to run two different versions of jQuery on the same page?
__________________
Fumigator is offline   Reply With Quote
Old 06-18-2009, 10:51 PM   PM User | #3
Iszak
Regular Coder

 
Iszak's Avatar
 
Join Date: Jun 2007
Location: Perth, Western Australia
Posts: 332
Thanks: 2
Thanked 58 Times in 57 Posts
Iszak is an unknown quantity at this point
Quote:
Originally Posted by Fumigator View Post
Why would you want to run two different versions of jQuery on the same page?
Probably for support of an old plugin that hasn't been upgraded to the latest jQuery?

Also, you'd probably want to look into noConflict, never really heard about using it with two different versions, but should work.

Link: http://docs.jquery.com/Core/jQuery.noConflict
Iszak is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:28 AM.


Advertisement
Log in to turn off these ads.