jqueryeventobject target

Topics: General
Oct 4, 2012 at 7:24 PM

I want to write a click handler, which needs to check the tagName of the target...

$("#elm").click( function( e:JQueryEventObject) { 
  if (e.target.tagName !== 'A') {

 but e.target is an interface type EventTarget which only contains 3 members

how can I get the tagName in this case? or is this just because the jQuery.d.ts is still not complete?

Oct 5, 2012 at 3:11 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.