Remove all event handlers added with the delegate() method from all elements:
The undelegate() method removes one or more event handlers, added with the delegate() method.
|selector||Optional. Specifies the selector to remove event handlers from|
|event||Optional. Specifies one or more event types to remove handler functions from|
|function||Optional. Specifies a specific event handler function to remove|
Remove all click event handlers
How to use the undelegate() method to remove all click event handlers for all <p> elements.
Remove a specific function added with delegate()
How to use the undelegate() method to remove only a specific function.