Javascript提交表单

<form action="login.do?act=login" method="post">
  <input type="submit" name="submit1" value="登陆">
</form>
<form action="login.do?act=login" name="myform" method="post">
  <input type="button" name="submit1" value="登陆" onclick="javascript:document.myform.submit();" >
</form>
上一篇:angularJS核心原理


下一篇:API(Scanner、Random、ArrayList、String、Arrays、Math)