Why not just set a globally available flag? <script type="text/javascript"> var _PageIsLoaded = false; $(window).load(function(){ _PageIsLoaded = true; ); </script>
Now "_PageIsLoaded" will tell you if the page is loaded or not
Why not just set a globally available flag? <script type="text/javascript"> var _PageIsLoaded = false; $(window).load(function(){ _PageIsLoaded = true; ); </script>
Now "_PageIsLoaded" will tell you if the page is loaded or not