unbind

Disassociates a specific function from a specified event, so that the function is no longer executed each time the event is triggered.

 

JavaScript

 

unbind(eventName, func)

Parameters

eventName

The event name.

func

The function to stop executing each time the event is triggered.