How Jquery Works in Page?

Content: jQuery

Posted On: Mar 16, 2011 Resource: PHPjQuery.com More (Source Content)
First we can get one small example for this question.
In ordinary javascript code included page given below

How Jquery is working in web pages alert("welcome to demo page"); Welcome to Test Page

In the above example when the page loaded that time the alert message will show in the screen of the browser.

If we use the Jquery instead of ordinary Jquery readyevent will execute before loading the page and images on the web pages in browser.

See the below example

$(document).ready(function(){ alert("welcome to Jquery Demo page.") }); Welcome to

Related Posts: