4 ms·
You can use event delegation for button handling : `$(document).on('click', '.button-list', my_function);` https://learn.jquery.com/events/event-delegation/ ht
by nicolasMLV 10y ago
You can use event delegation for button handling : `$(document).on('click', '.button-list', my_function);`
https://learn.jquery.com/events/event-delegation/ https://learn.jquery.com/events/event-delegation/
- tdubbs 10y agoThanks for posting this. It's sad how few people seem to know about event delegation...