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
Leave a Reply