*confirm语句:
if(window.confirm("确定要删除吗?")){
//with 语句
with(document.getElementById("userForm")){
method = "post";
action = "del.do"
submit();
}
}
if(window.confirm("确定要删除吗?")){
//with 语句
with(document.getElementById("userForm")){
method = "post";
action = "del.do"
submit();
}
}