Prototype / JavaScript onload event

By.

min read

My profile

Share this:

Don’t want to do the onload anymore?

Just use observe and you’ll be fine!

[code:1:f7c2044ea1]document.observe(“dom:loaded”, function() {
// Do stuff
}[/code:1:f7c2044ea1]

[b:f7c2044ea1]Read on:[/b:f7c2044ea1]
http://www.prototypejs.org/api/document/observe

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *