he dom is already
> loaded. I went ahead and coded it to check document.loaded.
>
> -Original Message-
> From: prototype-scriptaculous@googlegroups.com
> [mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of T.J. Crowder
> Sent: Thursday, March 25, 2010 12:21 A
: Thursday, March 25, 2010 12:21 AM
To: Prototype & script.aculo.us
Subject: [Proto-Scripty] Re: Test if Dom is ready
@Jeffrey: For script tags in the source of the main page, it shouldn't
be a problem no matter where you put the script tag. I'm assuming he's
loading script after
@Jeffrey: For script tags in the source of the main page, it shouldn't
be a problem no matter where you put the script tag. I'm assuming he's
loading script after page load.
-- T.J.
On Mar 25, 1:28 am, Jeffrey Peck wrote:
> Put this in the document head and it should work every time. I have
>
Hi,
I'd actually like to see Prototype handle this edge case for you, but
as far as I know it doesn't.
There's an *undocumented* way you can check: The `document.loaded`
property. But that's undocumented and so subject to change from dot
release to dot release. (Not necessarily a big problem, it