Why use your own copy of jQuery, use the one Google is hosting, this gives you great advantages in caching!
You can include it this way:
<script src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
// Load jQuery
google.load("jquery", "1.2.6");
google.setOnLoadCallback(function() {
// Your code goes here.
});
</script>
Or you can place a direct reference to it:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
Related posts:
- 5 articles to improve your jQuery skills! jQuery 1.4 API Cheat Sheet Complete cheat sgeet of the...
- Thumbnails in Google Docs // // Google Docs generates thumbnails for documents, so you...
- Most read and most popular Wikipedia pages? Try Wikirank! Wikirank is a very nice site which gathers all the...
- Asynchronous Tracking with Google Analytics Today we’re excited to announce our new Google Analytics Asynchronous...
- Troubleshooting your Adsense Code Today, we’re beginning a troubleshooting series to help you diagnose...
Related posts brought to you by Yet Another Related Posts Plugin.