capturar elemento que lanza un evento

/ Published in: JavaScript
Save to your folder(s)

con dojo utilizo:
var targetEvent = dojo.html.getEventTarget(evt);

Copy this code and paste it in your HTML
  1. function(evt){
  2. var event = evt || window.event;
  3. var targetEvent = || event.srcElement;
  4. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.