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!'); });
Tags:
JQuery