Home   Pricing

editor.detachEvent()

Removes the specified event handler that was registered earlier with the attachEvent method.

Syntax

editor.detachEvent(eventName,eventHandler)

eventName

Type: String

specifies the name of the event that is listened by the event handler.

eventHandler

Type: function

Reference to the event handler function to remove.

Related Links

attachEvent

Event change

Event selectionchange

Event exec_command