The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
alert method
Displays a dialog box containing an application-defined message.
This method is not supported for Windows apps using JavaScript.
Syntax
var retval = window.alert(message);Parameters
- message [in, optional]
-
Type: String
String that specifies the message to display in the dialog box.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Standards information
There are no standards that apply here.
Remarks
You cannot change the title bar of the Alert dialog box.
See also
Show: