特定の 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フォームと一緒に他のものを送信するにはどうすればよいですか?