confirm

Displays a confirm dialog box with the specified message and OK and Cancel buttons.

Core function

Syntax

Confirm( message )

Parameters

Parameter Description
message String message to display.

Description

Confirm is a top-level function and is not associated with any object.

Use the confirm method to ask the user to make a decision that requires either an OK or a Cancel. The message argument specifies a message that prompts the user for the decision. The confirm method returns true if the user chooses OK and false if the user chooses Cancel.

Examples

To create an Confirm dialog:

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