Profile
Achievement
 
    
                grindking's Recent Snippets
- All /
 « Prev 1 Next »
.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):
        
        
        
            0 
        
        
            1247 
        
                    posted 12 years ago by grindking