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:
- Asynchronous Tracking with Google Analytics Today we’re excited to announce our new Google Analytics Asynchronous...
- Introducing Google Closure Tools Millions of Google users worldwide use JavaScript-intensive applications such as...
- 6 must read articles for web developers! 50+ Online CSS Tools for Web Developers and Designers 7...
- New in Gmail: Default text style In the early days of email, messages were simple text...
Related posts brought to you by Yet Another Related Posts Plugin.