confirm Method--------------------------------------------------------------------------------Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.SyntaxbChoice = window.confirm( [sMessage]) ParameterssMessage Optional. String爐hat specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message. Return ValueBoolean. Returns one of the following possible values:true The user clicked the OK button. false The user clicked Cancel button. ResThe title bar of the confirmation dialog box cannot be changed.
ParameterssMessage Optional. String爐hat specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message. Return ValueBoolean. Returns one of the following possible values:true The user clicked the OK button.
false The user clicked Cancel button. ResThe title bar of the confirmation dialog box cannot be changed.