What is jQuery
Your first jQuery code
Lets see an example which will popup an alert while loading the page using jQuery.
Here you can notice that we have included a java script file – jquery-1.8.2.js , Which provides many features. You can download this js file from jQuery website.
jQuery provides a shortcut ‘$ ‘ for window.jQuery(“document”).ready , By which we can rewrite the code as below.