Skip to content

Alert Events

Alert has the following events associated with it:


alertHandler Event


Specifies the JavaScript function that should get called when alert is dismissed either through "Yes" button or through "No" button.

Syntax


alertHandler

Type

Event

Read/Write

Yes - (Read and Write)


//Sample code to set alertHandler event callback to an Alert widget.

frmAlert.myAlert.alertHandler=alertHandlerCallBck;

function alertHandlerCallBck(alert)
{
    //Write your logic here
}  

Accessible from IDE

Yes

Platform Availability

Available on all platforms