Friday, February 15, 2013

Always having the latest version of jQuery

When you develop your website you'll have to use the latest version of jQuery . So you'll download the latest version from or some other site and add it to your project.

So far so good but what happens when jQuery will release a new version?
You'll re download it and update your site every time?
Perhaps. Or you can add this line to your master page/layout:
    <script type="text/javascript" src=""></script>
This way you reference the google hosted jquery.js file of the latest version, which is regularly updated.

You can also add the latest jQuery-ui.js file:
    <script type="text/javascript" src=""></script>
What about the jQuery-ui.css?You got it!
    <link rel="stylesheet" href="" type="text/css" />

Stay updated.