Re: onload handler order of firing
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: onload handler order of firing

From: one man army <newsAT@screenlightDOT.com>
Date: Tue Jan 31 2006 - 21:54:00 CET

What else can I use besides onload() that will be called when I enter a
page? If there is one, is the order betweenthe two _types_ of events
prescribed?

  reason- I am having a problem with a third party API in which it gets
confused when I init it in doc.onload(), then make a bunch of calls
before it gets a chance to draw the first time. I want to split the code
to let it init, then make the calls, but all on upon entering the page.

  btw, I am assigning the event handlers in the simplest possible
manner, in the HTML code itself. So no fancy dynamic event handling
additions here. They call modestly complex functions in an included .js
file.

  thanks for pointers, I am on a deadline
Received on Tue Feb 7 21:29:17 2006