<body>
<input type="submit" value="删除历史全部订单" onclick="deleteall()"/>
</body>
<head>
<script type="text/javascript">
function deleteall(){
password = prompt("请输入密码:","管理员密码");
if(password != "123"){
alert("密码错误,删除失败!");
}else{
alert("已删除全部订单");
location.href="Manager_OrderServlet?method=deleteAll";
}
}
</script>
</head>