Response title
This is preview!
I'm using one function to be the click handler for three different buttons via jquery. In Firefox and IE, the code (shortened id's to fit)
$("#n1,#n2,#n3").click(function (event) { bla... } sender = $(event.target).attr('id');
tried this and sender = event.target.id; this, both work in ff/ie not chrome
works just fine with the console logging each click event correctly, however in Chrome 20 I am getting thiswhere I get a series of "undefined" values for sender, then I get a valid value, then 4 more "undefined" then 6 good values.
The Fiddle I created works every time in Chrome so I'm stuck as to what might be causing this.
Any ideas?
© 2013 jQuery Foundation
Sponsored by and others.