.on() - jquery event handler


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

.on( events [, selector] [, data], handler(eventObject) )

A delegated-events approach attaches an event handler to only one element, the tbody, and the event only needs to bubble up one level (from the clicked tr to tbody):

URL: http://api.jquery.com/on/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.