confirm(message [, title] )
|
|
Parameters
|
Stringmessage
Specifies the message to display in the dialog box
Stringtitle
[optional] Specifies the dialog box title. If omitted, the title defaults to "Confirm".
|
Returns
|
boolean. Returns true if the user clicks OK. Returns false if the user clicks Cancel.
|