search for: _addevent

Displaying 1 result from an estimated 1 matches for "_addevent".

Did you mean: addevent
2005 Dec 18
3
JavaScript question
...''d like to access this - but this in a event-handler is the element of the event, and not the object I want to refer to, which is the instance of my popupCalendar class. How do I get back to the instance? Anyone got a clue? For further info: I register this event-handler like so: this._addEvent(document,"click",this._clickhandler); where addEvent is the following function: org_apache_myfaces_PopupCalendar.prototype._addEvent=function(obj, evType, fn){ if (obj.addEventListener){ obj.addEventListener(evType, fn, false); return true; } else if (obj.attachEvent){ var r...