/ Published in: JavaScript
con dojo utilizo:
var targetEvent = dojo.html.getEventTarget(evt);
var targetEvent = dojo.html.getEventTarget(evt);
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function(evt){ var event = evt || window.event; var targetEvent = event.target || event.srcElement; }