I've been wondering why there is a difference in the attribute name for an event's target/sourceElement in JavaScript for different browsers.
event.srcElement in Internet Explorer event.target in most other browsers.
Aucun commentaire:
Enregistrer un commentaire