日期:2014-05-17  浏览次数:21011 次

删除按钮弹出对话框,确对指向删除页
删除按钮弹出对话框,确对指向删除页

------解决方案--------------------
<input name= "Submit2 " type= "submit " onclick= "location.href= 'del.asp?id= <%=rs( "id ")%> ' " value= " " />
------解决方案--------------------
<a href= "resolve?action=remove " onclick= "return confirm( '危险 ') "> 移除 </a>
------解决方案--------------------
<script language= "JavaScript ">
<!--
function formsub(i){
if (i==1){
if (confirm( '你真的要删除所选藏獒吗?\n删除后将不能恢复。\n\n是否确定? ')){
document.form1.action = "del.asp ";
form1.submit();
}
}
}
</script>
<input name= "B1 " type= "button " id= "B1 " onclick= "formsub(1) " value= " 删除 " />