【文件属性】:
文件名称:JS弹出对话框实现方法(三种方式)
文件大小:25KB
文件格式:PDF
更新时间:2020-11-22 02:36:43
js 弹出对话框 方法
本文实例讲述了JS弹出对话框实现方法。分享给大家供大家参考,具体如下:
1.警告框
<html>
<head>
[removed]
function disp_alert()
{
alert("我是警告框!!")
}
[removed]
</head>
<body>
<input type="button" onclick="disp_alert()" value="显示警告框" />
</body>
</html>
2.确定取消框
<html>
<head>
[removed]
function d