setAction

The setAction method defines the JavaScript action of the field for specific trigger.

 

Syntax

setAction(System.String cTrigger, System.String cScript);

 

Parameters

cTrigger

Trigger for the action: MouseUp, MouseDown, MouseEnter, MouseExit, OnFocus, OnBlur, Keystroke, Validate, Calculate or Format.

cScript

JavaScript code

 

Remarks

Member of field.

 

Example