alert("hello world;") - >弹出对话框,只有确定按钮;
confirm("click") - >弹出对话框,包含确定,取消2个按钮,确定返回true;
prompt == inputbox[vbs] ;弹出可输入的对话框,js中取消返回null
if(prompt("弹出信息","默认内容")==null)
{
ok
}
alert("hello world;") - >弹出对话框,只有确定按钮;
confirm("click") - >弹出对话框,包含确定,取消2个按钮,确定返回true;
prompt == inputbox[vbs] ;弹出可输入的对话框,js中取消返回null
if(prompt("弹出信息","默认内容")==null)
{
ok
}