I’m using a component written in JavaScript. The component is exposing some events. The problem is I can’t figure out who is the sender. They don’t provide an instance of the sender as a parameter (like jQuery does).
My question is: Is there any way to hook up the event using JavaScript/jQuery or any other way to get the sender?
All I know is the event name.
If I am correct in what you want: event.srcElement
http://msdn.microsoft.com/en-us/library/ms534638%28VS.85%29.aspx
Note: This does not work in Firefox.
For FF and most likely Webkit: