Event.targetObject

The form control object (such as Button) for which the event was detected.

Property of Event

Example

If the below code is added into the Global MetaScript for a form that has two buttons (with IDs "b1" and "b2") and either button is clicked, the clicked button will become disabled:

See also

Button.addEventListener

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