摘要: 先是javaScript的处理function dosubmit(){ var th=document.form1; th.action="/servlet/ProductAction?action_flag=add"; th.submit();}新建一个接口 来处理上传packa... 阅读全文
posted @ 2015-09-12 19:10 手酒刘 阅读(542) 评论(0) 推荐(0) 编辑
摘要: 首先仍然是javaScript的处理 function login(){ var th=document.form1; if(th.username.value==""){ alert("用户名不能为空!"); th.username.focus(); return; } if(th.pswd.value==""){... 阅读全文
posted @ 2015-09-12 17:59 手酒刘 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 先用javaScript对form表单做处理function dosubmit() { var th = document.form1; if (th.username.value == "") { alert("用户名不能为空!!"); th.username.focus(); r... 阅读全文
posted @ 2015-09-12 16:28 手酒刘 阅读(369) 评论(0) 推荐(0) 编辑