
July 5th, 2012, 03:59 AM
|
|
|
|
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?
|