Difference between window.onload and $(document).redy This tutorial explains the jQuery document ready event, which is normally used to initialize your web page with jQuery.