ITSourceCode.com

We Exist to Provide 100% Free Source Code and Tutorials

Custom Search

Installing jQuery

jquery-javascriptIn this tutorial shows you how to install jQuery on the page document. There are two ways in installing jQuery on the document of a page.

  • Development

  • Production

 

Development is used by web developers for the offline developement of a website because of its uncompressed codes.

Example:

 

<script src="jquery-1.10.2.min.js"></script>

Description: There are many avaibale version that are ready to download in the jQuery.com without any cost.

 

Production is used by web developers for a website that has already live  because it is minified and compressed.

Examples:

 

Google CDN

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script>

 

Microsoft CDN

<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.10.2.min.js"> </script>

Note: The jQuery library is a single JavaScript file that its referenced within <script> tag of the html. This <script> tags are usually placed inside the <head> section.

 

The jQuery 1.10.2 version is more convenient than the CDN(Content Delivery Network) because web users have already downloaded jQuery from Microsoft or Google everytime they visit another website. And the result of that is, if they visit your site, it will automatically be loaded from the cache that makes loading time more faster. While most CDN’s assures the user’s request a file from it, to make the servers closest to them that may also leads for a faster loading time. Thats why, it’s much better to use the jQuery than the CDN.

 

For all students who need programmer for your thesis system or anyone who needs a sourcecode in any programming languages. You can contact me @ :
Email – jannopalacios@gmail.com
Mobile No. – 09305235027 – tnt

Facebook Comments

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked *

ITSourceCode.com © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!