How to Install jQuery UI

This time, I will show you how to install jQuery UI on the document of the page. There are two methods to install jQuery UI in the document of the page. They are the Development and Production.

Development

Development is used for offline development of a website by the web developers because it contains uncompressed codes. This is an example of Development :
  1. <script src="jquery-1.10.2.min.js"></script>
Note: There are a lot of versions that are ready to download in the jQuery.com and it's free.

Production

Production is used for online development of a website by the web developers because of its minified and compressed. This is an examples of Production:

Microsoft CDN

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

Google CDN

  1. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script>
Note: The jQuery UI is a single Javascript file and its reference is inside the <script> tag of HTML. This tag is placed between the <head> </head> section.
It is more convenient to use jQuery 1.10.2 version than the Content Delivery Network or CDN. Why? Because everytime the web users visit another website they have already downloaded the jQuery from Google or Microsoft. The result of that is when web users visit your site they have nothing to worry about the loading time because it will automatically be loaded from the cache and that makes loading time faster that you ever thought. While CDN, makes also loading time faster but they assure first the user with a request file from the server closest to them which is very inconvenient. This is the reason why it’s better to use the jQuery than the (Content Delivery Network) or CDN.
Always Remember: These are simple but powerful methods because without these methods your jQuery Plugins won't work.
For all students who need a programmer for your thesis system or anyone who needs a source code in any programming languages. You can contact me @ : Email – [email protected] Mobile No. – 09305235027 – TNT

Add new comment