jobo: Event.observe überschreibt nicht window.onload?

Beitrag lesen

Hallo,

Warum event.observe statt window.onload

Event.observe ist prototype. Was ich nicht kapiere, ist, warum mein window.onload() davor nicht ausgeführt wurde, denn:

"It does not replace existing handlers for that same element+event pair. It adds to the list of handlers for that pair. Using observe will never incapacitate earlier calls."
http://www.prototypejs.org/api/event/observe

Gruß

jobo