HBCMS更多的中文手册参考:

alert Method

DHTML文档教程

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

window

更多语法参考

confirm, prompt