Submit action getting hit twice while using JQuery UI Dialog

后端 未结 3 678
花落未央
花落未央 2021-01-15 08:01

I am writing an ASP.NET MVC 4 application using JQuery and bootstrap.

There is a modal dialog functionality in my site which used to work smoothly until recently whe

3条回答
  •  不思量自难忘°
    2021-01-15 08:28

    I fixed this issue by changing jquery.unobtrusive-ajax.js file to skip async call if the submit button is having a particular custom attribute.

提交回复
热议问题