我有一个特定的 ajax 表单,提交时我想在该 ajax 表单之外包含另一个表单。让我给你看一个例子:
@using (Ajax.BeginForm("PayWithBankTransfer", "Payment", new { salesLineId = salesLine.SalesLineID }, new AjaxOptions
{
HttpMethod = "POST",
UpdateTargetId = "bankForm",
LoadingElementId = "spinnerBank"
}, new { id = "feedback-form" }))
{
//some stuff
<button type="submit">Reserve</button>
}
我在要包含在 ajax 表单提交中的表单之外还有另一个标签
<div id="theOtherStuff">
//otherStuff
</div>
我怎样才能将其他东西与 ajax 表单一起提交?