This topic has not yet been rated - Rate this topic

confirm method

Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.

This method is not supported for Windows Store apps built for Windows using JavaScript.

Syntax


 retVal = object.confirm(message);

Parameters

message [in, optional]

Type: BSTR

BSTR that specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message.

Standards information

There are no standards that apply here.

Remarks

The title bar of the confirmation dialog box cannot be changed.

See also

Reference
IHTMLWindow2::alert
IHTMLWindow2::prompt

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.