alert method
Displays an alert dialog box with the specified message.
alert(message [, title] )
Parameters
String message
Specifies the message to display in the dialog box String title
[optional] Specifies the dialog box title. If omitted, the title defaults to "Alert".
Returns
void
这对您有帮助吗?