JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 5th, 2012, 03:59 AM
rePete rePete is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Sep 2006
Posts: 658 rePete User rank is Sergeant Major (2000 - 5000 Reputation Level)rePete User rank is Sergeant Major (2000 - 5000 Reputation Level)rePete User rank is Sergeant Major (2000 - 5000 Reputation Level)rePete User rank is Sergeant Major (2000 - 5000 Reputation Level)rePete User rank is Sergeant Major (2000 - 5000 Reputation Level)rePete User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Week 1 Day 3 h 47 m 13 sec
Reputation Power: 30
JQuery - are these the same but different version?

I have so many jquery plugins for a page that I'm thinking maybe some of them are the same?

Do any of these cover one over the other, therefore I do not need to include them:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"></script>
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css"/>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>

Is it better to link the jqueries or should I try any download them and place them in the server?

I have been testing so many jquery plugins that I can't remember what needs what. Is there any way of knowing whats needed in a page?

Is it bad and could cause issues if you have the same jquery plugin called several times on a page?

Reply With Quote
  #2  
Old July 6th, 2012, 02:41 AM
a.brillant a.brillant is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2012
Posts: 2 a.brillant User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 28 m 55 sec
Reputation Power: 0
You use both jqueryui/1.7.2 and jqueryui/1.8.9, I think you shouldn't mix them firstly. Secondly, I think that google access for including are not bad if your site is public because a lot of have it inside their cache.

Reply With Quote
  #3  
Old July 8th, 2012, 11:17 PM
onlyphp onlyphp is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2009
Location: US
Posts: 5 onlyphp User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 2 m 37 sec
Reputation Power: 0
use any higher version of jquery and ignore all other lower even if mentioned by addon you are using.

Ex. if you already used
Code:
<script type="text/javascript" src="(URL address blocked: See forum rules)"></script>


then you need not to include

Code:
<script type="text/javascript" src="(URL address blocked: See forum rules)"></script>


this will work

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > JQuery - are these the same but different version?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap