<script>
function p_del() {
var msg = "您真的确定要删除吗?\n\n请确认!";
if (confirm(msg)==true){
return true;
}else{
return false;
}
}
</script>
调用方法:
<a href="/team3CRM/service.do?destination=delete&id=${serv.servId }" onclick="javascript:return p_del()>删除</a>
原文:http://www.cnblogs.com/zhoumeng780/p/5242229.html