多form表单提交--client_node_modify.jsp
function modifyRegion() {
if(trim(document.getElementById("name").value)==""){
alert("区域名称不能为空!");
document.getElementById("name").focus();//获取焦点
return;
}
//多个表单可以提交数组
with(document.forms[0]){
action="client_node_modify.jsp";
method="post";//get对服务器不会有什么影响,post会对服务器有影响,比如修改
submit();
}