jQuery 가 여러 폼 을 제출 하 는 작은 예


<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>

좋은 웹페이지 즐겨찾기