Hello, I am using jQuery and BlockUI to display a "Loading..." message to the user while the page is loading.
The problem is that the "Loading..." message seems to show up AFTER the page has loaded, not during load. Shouldn't the document.ready fire sooner than that? What am I doing wrong? <script> $(document).ready(function() { $.blockUI(); setTimeout($.unblockUI, 2000); }); </script>