Code to load latest Jquery


Code to load latest Jquery in your html file. Using this reference you can use the latest Jquery in your application. Also you can download the file by entering the URL in your browser and add reference in HTML

Here is the code to load the lastest Jquery for your HTML. This refers the jquery from the web and take the latest jquery reference.


<scriptsrc=http://code.jquery.com/jquery-latest.min.jstype="text/javascript"></script>

Advantage:




We can get the latest Jquery reference. This can be directly added as reference in your HTML file. Also you download the latest Jquery by entering the URL in web browser and the file gets downloaded. Then you can add it to the project and refer it in you HTML.

Disadvantage:


If the internet speed is slow, there may occur some problem while referring like this.U Usually adding the reference directly is not recommended. You need to download the jquery and then refer it in HTML. If you use the reference directly if there is internet problem, it may crash the entire HTML. There are various version of Jquery. But above code gives the latest released JQuery. This is common for all JQuery reference which you use in HTML.


Comments

No responses found. Be the first to comment...


  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: