Displays a dialog box containing an application-defined message.
dhtml语法
window.alert( [sMessage])
Parameters
sMessage |
Optional.
Stringthat 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.
是否符合公共标准
There is no public standard that applies to this method.
Applies To
更多语法参考
confirm, prompt