www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Methods
 alert Method
alert Method

Displays a dialog box containing an application-defined message.

Syntax

window.alert( [sMessage])

Parameters

sMessage Optional. String that specifies the message to display in the dialog box.

Return Value

No return value.

Remarks

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

Standards Information

There is no public standard that applies to this method.

Applies To

window

See Also

confirm, prompt
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG