html a标签-超链接中confirm方法使用介绍

(编辑:jimmy 日期: 2024/10/11 浏览:2)

复制代码 代码如下:
<a href="a.html" onclick="if(confirm('确定删除?')==false)return false;">删除</a>