1. function ConfirmDel(){ if(confirm("确定要删除吗?一旦删除将不能恢复!")) return true; else return false;}<form name="del" method="Post" action="Del.asp" οnsubmit="return ConfirmDel();">2. <a href="javascript:if (confirm('确认删除?')) {location.href='del.asp?id=<%=rs("id")%>'}">删除</a>