Geek and software developer who started writing in Basic (on Atari, Commodore and Amiga 500) in the 80's. I teach via this blog and videocasts. I have a lot of computers and even more monitors. Contact me at sebastian at brukalo dot com
Off the Ridge code
1. Go to http://jQuery.com and download either jQuery 1.x if you’re planning on supporting older browsers (e.g. IE 6-8) or jQuery 2.x if you’d like more slimmer version that doesn’t have the overhead of supporting older versions and it’s much leaner. In other words jQuery 2.x is meant for IE 9 and higher.
You’ll find two different versions for each of the versions one with *.min and the other without the *.min. The *.min is a very condensed version of jQuery with all the whitespace removed and shortened variables and is generally meant for production. If you’re developing code and would like to be able to step through it, I recommend downloading one without the suffix .min.
2. Reference it in your page:
Alternatively, you can use Content Delivery Network or CDN – either from Microsoft or Google
OR from Google:
window.jQuery = window.$ = jQuery;
// do something useful here..
This is it for the first post.