The delegate () method is used to attach one or more event handlers for specified elements which are the children of selected elements. This method executes a function to run when the event occurs.
The attached event handlers with the delegate () method works for both current and future elements.
Parameters of jQuery delegate() event
Let's take a jQuery delegate () example.Test it Now