Click to return to the DHTML, HTML     
addRule Method     appendChild Method     DHTML Methods    
Web Workshop  |  DHTML, HTML & CSS

alert Method


Displays a dialog box containing an application-defined message.

Syntax

window.alert([sMessage])

Parameters

sMessageOptional. String that specifies the message to display in the Alert dialog box. If no value is provided, the dialog box contains no message.

Return Value

No return value.

Remarks

You cannot change the title bar of the Alert dialog box.

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:

window



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.