Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

js/dom question regarding this

1 view
Skip to first unread message

rvj

unread,
May 10, 2010, 11:14:17 AM5/10/10
to
According to DOM addeventlistner doc the "this" value changes to the
element from which the event was fired.

...so how do you (can you still) refer to the "original this element"
(initially the value of "this" is associated with the window object?)


In my case I want to subsequently reference the value of "this" associated
with an XBL binding after an onload event has fired


......do you have to save it ... or can it be referenced?


0 new messages