var choice=confirm("您确认要删除吗?", function() { }, null); if(choice) { 要执行的代码 }
jq 确定删除方法
原文:http://www.cnblogs.com/bilibiliganbei/p/6095526.html