Hacker News new | ask | show | jobs
by nicolasMLV 3583 days ago
You can use event delegation for button handling : `$(document).on('click', '.button-list', my_function);`

https://learn.jquery.com/events/event-delegation/

1 comments

Thanks for posting this. It's sad how few people seem to know about event delegation...