alert Method

DHTML, HTML, & CSS

 
Click to return to the DHTML, HTML & CSS home page    
addRule Method     appendChild Method     DHTML Methods    

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:
Version data is listed when the mouse hovers over a link, or the link has focus.

window


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.