Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What? No they don't, unless you're making the handler in a loop.

$( "div" ).click( function() {} );

Each div will have the same handler applied, it doesn't make a new one for every div.



You're confusing the callback with the actual event listener.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: