when I tried to download jquery fr开发者_Go百科om jquery.com by clicking on the download link, the file opened in the browser (see image below) but didn't download.
I'm a very newbie at all this, so I'm not 100% sure this is not what's supposed to happen, but I think there's a problem. Can anyone explain?
This is not a problem. Just copy the text and save it in your local with .js extension and start using it. That will be your jQuery copy.
- Ctrl + s the page to a .js file on your machine
- Select all, copy and paste into a new text file
- Load the jQuery script directly into your HTML with
<script src="http://code.jquery.com/jquery-1.5.1.min.js" type="text/javascript"></script>
simply save(CTRL+S) this page on your desktop..and u have latest jQuery code in your hand :)
精彩评论