confirm
Opens a dialog box that shows a given message, a confirmation button, and a cancel button. The user will have to click either "OK" or "Cancel" to proceed. Returns a Boolean that represents the user's answer. If the user clicked "OK", the function returns true; if the user clicked "Cancel", the function returns false.
Signature
confirm(strMessage : String) -> result : Boolean |
Example (JScript)
if ( confirm( "Continue processing?" ) == false ) |
Example (VBScript)
If ( confirm( "Continue processing?" ) = false ) Then |