[Project_owners] Getting document from dialog close onunload

Neil neil at parkwaycc.co.uk
Sat Feb 26 22:21:44 EST 2005

HJ wrote:

> addEventListener("load", myListener.init, false);

This will only lead to confusion, as myListener.init will get called 
with "this" == "document", not with "this" == "myListener". If that's 
what you really want then you need to pass myListener itself and name 
the event handler handleEvent instead of init.

More information about the Project_owners mailing list