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

复制代码 代码如下:

  <a href="a.html" onclick="if(confirm('确定删除?')==false)return false;">删除</a>