JavaScript actionの変更
<input id="AreasBackAction" type="hidden" value="@Url.Action("StationAreasBack","Reserve")" />
<Script>
function onSubmit() {
var formObject = document.getElementById('AreaForm');
formObject.action = $('#AreasBackAction').val();
document.forms['AreaForm'].submit();
}
</Script>
0 件のコメント:
コメントを投稿