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

2011-03-03 Thread Richard Quadling
On 3 March 2011 17:25, Ashley Sheridan wrote: > "Jay Blanchard" wrote: > >>[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 >

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

2011-03-03 Thread Ashley Sheridan
"Jay Blanchard" wrote: >[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

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

2011-03-03 Thread Jay Blanchard
[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 no

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

2011-03-03 Thread HallMarc Websites
-Original Message- From: Steve Staples [mailto:sstap...@mnsi.net] Sent: Thursday, March 03, 2011 11:00 AM To: php-general@lists.php.net Subject: RE: [PHP] Delaying $(document).ready() in jQuery until php script finish On Thu, 2011-03-03 at 10:42 -0500, HallMarc Websites wrote

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

2011-03-03 Thread Steve Staples
On Thu, 2011-03-03 at 10:42 -0500, HallMarc Websites wrote: > Maybe I misread this and it seems to me he is asking how they could trigger > the jQuery event after the necessary PHP script is called. Maybe it is being > over-thought, have you tried placing the javascript call after the PHP > script?

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

2011-03-03 Thread HallMarc Websites
Maybe I misread this and it seems to me he is asking how they could trigger the jQuery event after the necessary PHP script is called. Maybe it is being over-thought, have you tried placing the javascript call after the PHP script? Maybe wrap it in a conditional statement that isn't satisfied until

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

2011-03-03 Thread Jay Blanchard
[snip] Just one: ask on a jQuery list. Just because PHP is running somewhere in the mix doesn't mean it's appropriate for this list. [/snip] Agreed. The list for jQuery is http://forum.jquery.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

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

2011-03-03 Thread Daniel Brown
On Thu, Mar 3, 2011 at 09:52, Richard Sharp wrote: > I have been banging my head trying to figure out how to delay > $(document).ready() command until my php script finish running and load > data into a csv file.  Any ideas Just one: ask on a jQuery list. Just because PHP is running somewher