RE: [PHP] Delaying $(document).ready() in jQuery until php script finish OT

From: Date: Thu, 03 Mar 2011 16:48:22 +0000
Subject: RE: [PHP] Delaying $(document).ready() in jQuery until php script finish OT
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-311633@lists.php.net to get a copy of this message
[snip] What I don't get about the question is, is the document.ready() shouldn't fire, until the page has completely loaded, and if the PHP script is still running, the "document" shouldn't be "ready" yet, should it? [/snip] The document ready function fires once the DOM is loaded - which might not be the entire page (images could still be loading, etc.)

« previous php.general (#311633) next »