+ 1
Delegates
Are there delegates in js?
3 ответов
+ 4
the jQuery delegate() Method attaches one or more event handlers for specified elements that are children of selected elements, and specifies a function to run when the events occur.
Event handlers attached using the delegate() method will work for both current and FUTURE elements (like a new element created by a script).
Learn more: https://www.w3schools.com/jquery/event_delegate.asp
+ 2
https://www.sololearn.com/discuss/1752834/?ref=app
+ 1
Thanks