您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

js弹出确认是否删除对话框

2025/3/12 15:08:33发布39次查看
这篇文章主要介绍了js弹出确认是否删除对话框,具体实现代码如下,需要的朋友可以参考下
代码如下:
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>确认是否删除</title> <script type="text/javascript"> function del(){ if(!confirm("确认要删除?")){ window.event.returnvalue = false; } } </script> </head> <body> <a href="http://www.baidu.com" onclick="return del()">删除</a> </body> </html>
更多js弹出确认是否删除对话框。
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product