event.data
The event.data
property in jQuery is the optional object of data passed to an event method when the current executing handler is bound.
event.data
property Example$('div').click({foo:'bar',site:'lautturi'},function(event){ console.log(event.data); // foo:'bar',site:'lautturi' });