1,js弹出删除确认框
2,js删除前确认
<script language="javascript">
function delete_confirm(e)
{
if (event.srcelement.outertext == "删除")
{
event.returnvalue = confirm("删除后不可恢复,确认要删除吗?");
}
}
document.onclick = delete_confirm;
</script>
<a href="delete.aspx" onclick="delete_confirm">删除</a>
3,js弹出取消对话框
4,js弹出删除确认框