Button.removeEventListener

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.

See also

Button.addEventListener, Form, Event

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.