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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux