Request.IsAjaxRequest returns false

前端 未结 4 942
感动是毒
感动是毒 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:45

    Well... I apologize. I don't know what has changed, but now IsAjaxRequest is returning true. I compare the code I posted above and what is executing now and I see no difference. I repeatedly got false on this before, and now I repeatedly get true. Surely I am missing something, but I don't see it.

提交回复
热议问题