The dom:loaded event[1] is the closest analogue at the moment, if what
you're looking for is an event when the DOM is built but before
window.onload since the latter waits for images to be complete.  I'm
told that it has some IE issues at the moment (in although
I've never seen a problem.  I'm also told that 1.6.1 RC2's version is
more IE-friendly.

[1] http://prototypejs.org/api/document/observe

T.J. Crowder
tj / crowder software / com
Independent Software Engineer, consulting services available

On Apr 27, 7:48 am, Mark  Mansour <markmans...@gmail.com> wrote:
> Hey guys,
> I'm looking for the earliest point to execute a method when a HTML
> element is available.  Currently I can only get my desired usability
> by inlining the javascript (you can see the dom change when I use
> dom:loaded).  I noticed that YUIEvent has an onAvailable event [http://
> developer.yahoo.com/yui/event/#onavailable] and wondered if there was
> an equivalent for prototype (or if this is the best solution!)
> Mark
> --
> Mark Mansour
> m...@stateofflux.com
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to