dandelion222 — 2010-12-21T14:59:47-05:00 — #1
I am trying to get started using JQuery, but I find I can't even get to lesson #1. When I go to jquery.com and click to download the latest version (or any version) it doesn't "download" anything. It opens the file as a webpage in my browser and I see all the JQuery in one big string. Why won't the file just download? Is it the browser I am using? Is it my Mac?
Any tips or help will be much appreciated! I'll never learn JQuery if I can't even download the library! Thanks.
qp2wd — 2010-12-21T15:07:19-05:00 — #2
Instead of downloading it, include it via the Google-hosted method. This cuts down on load time for your users as many sites employ the same method, thus enabling the user's browser to pull from cache rather than re-downloading Jquery each time.
As for why it's not working when you click download-- you have save that file with a .js extension, then include it on your page using script tags. Just right click on the download link and click "save as."
kvijayhari — 2010-12-22T05:57:41-05:00 — #3
Once it's displayed like that just click 'Save as' under your file menu in the browser.. Cool