Re: Re: Delaying $(document).ready() in jQuery until php script finish
| From: | Ellis Antaya | Date: | Mon, 07 Mar 2011 03:06:00 +0000 |
| Subject: | Re: Re: Delaying $(document).ready() in jQuery until php script finish | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-311721@lists.php.net to get a copy of this message | ||
Also, the $(document).ready() is triggered when the DOM is ready to be
manipulated.
I dont know why you would consider alter the behavior of this event, maybe
what you want is to create yourself a custom event handler ...
On Sun, Mar 6, 2011 at 21:43, Ellis Antaya <ellis.antaya@gmail.com> wrote:
> i'm not sure i understand your problem ?!?
>
> php runs on the server, delivers html code and/or javascript to the browser
> and only from there the jQuery will execute it's main loop and start trigger
> some events such as the ready event. So the php script is always finish
> when javascript start to execute ...
>
>
> On Fri, Mar 4, 2011 at 12:18, Nathan Rixham <nrixham@gmail.com> wrote:
>
>> 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
>>>
>>
>> *which* PHP script? are you returning an HTML document then keeping the
>> script going in the background, /or/ are you requesting another script (by
>> js, clicking a link, posting a form), /or/?
>>
>> I know it's a jQuery question, but it might be a PHP related gotcha.
>>
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
> --
> Ellis
> 1100101000111101
>
> twitter.com/floverdevel
> facebook.com/ellis.antaya
> google.com/profiles/ellis.antaya
> linkedin.com/in/ellisantaya
>
>
--
Ellis
1100101000111101
twitter.com/floverdevel
facebook.com/ellis.antaya
google.com/profiles/ellis.antaya
linkedin.com/in/ellisantaya