Just a simple question, for the jQuery event. Are the .load(), .ready() and .unload() run in order when the DOM is loaded? The answer seems yes when I see the jQuery Documen
If both "document.ready" variants are used they will both fire, in the order of appearance
$(function(){ alert('shorthand document.ready'); }); //try changing places $(document).ready(function(){ alert('document.ready'); });