Removes an event listener for the button.
Method of Button
Syntax
removeEventListener( eventType, listenerName )
Parameters
Parameter | Description |
---|---|
eventType | A string representing the type of event for which listenerName is executed. |
Description
This method removes from the form an event listener added using the Button.addEventListener method.
Examples
The following example removes the PrintRecordOnClick event listener.