Pages

Subscribe:

Ads 468x60px

Saturday, March 10, 2012

how to check that document is ready using jquery

in this web programming tutorial we will learn that how can we know that our document is ready or not to perform some action or not Jquery has a megical fucntion for us to do so at client end or for end user (browser).

$(document).ready(function() {
alert('Welcome to StarTrackr! Now no longer under police …');
});
another way to perform same as document.ready does see the a shortcut version:

$(function() { alert('Ready to do your bidding!'); });

No comments:

Post a Comment