confirm Method
Displays a confirmation dialog box that contains an optional message as well as OK and Cancel buttons.
Syntax
bChoice = window.confirm([sMessage])
Parameters
sMessage Optional. String that specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message.
Return Value
Boolean. Returns true if the user clicks OK, or false if the user clicks Cancel.
Remarks
The title bar of the confirmation dialog box cannot be changed.
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus.
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.