一次同时提交多个form表单

$("#FormReport").submit();
$("#FormControlContribution").submit();
$("#FormHealthCheck").submit();

 

<% using (this.Html.BeginForm("Edit", "Report", FormMethod.Post, new { id = "FormReport", target="IframeReport" })){ %>

......

 

<!-- these iframe used to submit three forms at the same time -->
<iframe name="IframeReport" style="display:none;"></iframe>
<iframe name="IframeControlContribution" style="display:none;"></iframe>
<iframe name="IframeHealthCheck" style="display:none;"></iframe>

posted on 2012-03-19 18:14  cw_volcano  阅读(1522)  评论(0)    收藏  举报