Posted in Javascript onJune 30, 2013
<script type="text/javascript"> $(function(){ $("#btnSubmit").click(function(){ $("form[name='form1']").submit(); $("form[name='form2']").submit(); }) }) </script> <form name = "form1" action = "handleForm1Action"> </form> <form name = "form2" action = "handleForm2Action"> </form> <button id="btnSubmit">提交<button>
jQuery提交多个表单的小例子
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Reply on: @reply_date@
@reply_contents@