JavaScript删除确认框

1〉

<a href="javascript:if(confirm('确实要删除吗?'))location='jb51.php?id='">删除</a>
原文地址:https://www.cnblogs.com/php-qiuwei/p/7856543.html