What is JQuery?
Benefits of JQuery
Writing script with JQuery
• Production version – This is the best version for a live website. It is compressed and minified taking less disk space. This is important for your website visitors, especially since they will have to download the JQuery file alongside the website.
• Development version – This is a full version that is perfect for the testing and running environment. This version makes it easy to see where errors appear on the query whenever you run it.
After downloading the framework, it should be referenced in the pages using a <script> HTML tag. It is advisable to place the jquery.js file within the same directory your page appears and reference it in the <head> section. Seasoned users of this framework use a modern way which is downloading the feature from a Content Delivery Network (CDN). Google and Microsoft both host various JQuery versions saving users the time needed to download and save the file. This also has another advantage in that users may already have the JQuery extension in their cache since the origin is from a common URL that many other websites use.