Dave's Brain

Browse - programming tips - load jquery faster

Date: 2009aug4
Language: javaScript

Q.  How can I load jQuery faster?

A.  If you have this:

<script src="js/jquery.min.js"></script>
<script src="js/ui.core.js"></script>

Change it to:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.min.js"></script>

Adjust the version numbers as necessary.
What this info useful to you? You can donate to say thanks

Add a comment

Sign in to add a comment
Copyright © 2008-2012, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Advertisements: