var r = confirm("是否确认删除!");if (r == true) {location.href = "/Employees/Delete/" + id;}else { return; }
<a href="javascript:if(confirm('确认删除吗?'))window.location='/Admin/banknews/Del/<%=item.ID %>'">删除</a>
Response.Write("<script languge='javascript'>alert('" + name + "');window.location.href='/Model/Index'</script>");