4 ms·
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 m
by dcher 15y ago
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.
- stephenr 15y agoYou're confusing the callback with the actual event listener.