Currently I’m writing on an Event handler for IE (including capturing, which hardly any cross browser handler does), but I can’t test my code in IE (I don’t have Windows).
My particular question is about the following:
This code snippet is executed in the handler attached to the onevent properties, so this points to the appropriate element.
PS. works in FF (if I hide .addEventListen er())
My particular question is about the following:
Code:
base = e.target || e.srcElement;
if ([B]base == this[/B]) { // would this work?
// execute capture handlers
}
PS. works in FF (if I hide .addEventListen er())
Comment