Request.IsAjaxRequest returns false

前端 未结 4 933
感动是毒
感动是毒 2021-01-14 01:26

I have an MVC project in which I have a form with a submit button. I have added a jquery client-side handler that intercepts the form submit event. The javascript function

4条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-14 01:31

    Does CreateItem perform redirect? See Firefox does not preserve custom headers during Ajax request redirect: an ASP.NET MVC solution

提交回复
热议问题