You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jQuery#on lets you capture events on a parent element for a specific
selector, instead of binding a different event for each element. This is
better for two reasons:
1) on large applications, you conserve memory (and prevent leaks) by
not having a ton of events
2) when you add elements to a list dynamically, you don't have to
refresh the event listeners
0 commit comments