ISSUE DOM Level 3 events


Could the DOM WG clarify the following sentence please:

1.5.3. Specified as attributes on the element

"As such, registration of a second event listener of the same type would
replace the first listener."

Does that mean that if we have a event attribute such as 'onclick', and then
by script we add a new event listener on that element, the 'onclick'
function will not be invoked anymore?

Or does that simply mean that if we change the 'onclick' attribute value,
the first function will not be invoked anymore (same as described in the
next paragraph) ?


Received on Wednesday, 14 August 2002 05:13:36 UTC