Jquery 在ie中不使用post表单

Jquery 在ie中不使用post表单,jquery,asp.net-mvc,internet-explorer,asp.net-ajax,Jquery,Asp.net Mvc,Internet Explorer,Asp.net Ajax,我使用ASP.NET MVC,我的表单代码如下: @using (Ajax.BeginForm("SendPeso", "Transfer", null, new AjaxOptions() { HttpMethod = "POST", UpdateTargetId = "SendPeso", OnBegin = "BeginSending", OnSuccess = "LoadLastAddedTransfer" }, new { @id = "SendPeso" })) {

我使用ASP.NET MVC,我的表单代码如下:

@using (Ajax.BeginForm("SendPeso", "Transfer", null, new AjaxOptions() { HttpMethod = "POST", UpdateTargetId = "SendPeso", OnBegin = "BeginSending", OnSuccess = "LoadLastAddedTransfer" }, new { @id = "SendPeso" }))
    {
        @Html.Partial("Market/SendPesoInput", Model)
    }
没什么不寻常的

生成的html代码:

<form action="/Transfer/SendPeso" method="post" novalidate="" data-ajax="true" data-ajax-method="POST" jQuery19104576308090360941="35" data-ajax-update="#SendPeso" data-ajax-success="LoadLastAddedTransfer" data-ajax-mode="replace" data-ajax-begin="BeginSending">


我不明白我的表格中的属性是什么。当我尝试从。。。什么都没有发生,但如果我在browser developer mod中从我的表单中删除jquery1910476308090360941=“35”,一切正常!这只是IE,我想可能是你使用重载方法的方式不对

正确的语法是:

@using (Ajax.BeginForm(string Action, string Controller, object RouteValues,AjaxOptions ajaxOptions))
因此,请尝试以下方法

@using (Ajax.BeginForm("SendPeso", "Transfer", new { @id = "SendPeso" }, new AjaxOptions() { HttpMethod = "POST", UpdateTargetId = "SendPeso", OnBegin = "BeginSending", OnSuccess = "LoadLastAddedTransfer" }))