[jQuery] Re: The last script on ready function

2008-11-25 Thread Pierre Bellan
Hi, Put it at the very bottom of your page. $(document).ready are executed in LILO order. I think that's the only thing it which always works. Pierre Rodney Dangerfield - I looked up my family tree and found out I was the sap. 2008/11/25 MarcelloP [EMAIL PROTECTED] Hi all! Please, I'm in

[jQuery] Re: The last script on ready function

2008-11-25 Thread ricardobeat
You can also run it on page load (as opposed to DOM ready): $(window).load(function(){ // scripts to run after page load here }); - ricardo On Nov 25, 8:08 am, Pierre Bellan [EMAIL PROTECTED] wrote: Hi, Put it at the very bottom of your page. $(document).ready are executed in LILO

[jQuery] Re: The last script on ready function

2008-11-25 Thread Pierre Bellan
I'm not sure of that. In the doc of the ready event, it says Please ensure you have no code in your body onload event handler, otherwise $(document).ready() may not fire. Rodney Dangerfield - I looked up my family tree and found out I was the sap. 2008/11/25 ricardobeat [EMAIL PROTECTED]

[jQuery] Re: The last script on ready function

2008-11-25 Thread ricardobeat
Right. That means code at the end of the body then. I've never seen anything bad happen with that though. Anyone out there knows the reason for this? - ricardo On Nov 25, 2:20 pm, Pierre Bellan [EMAIL PROTECTED] wrote: I'm not sure of that. In the doc of the ready event, it says Please