阅读背景:

成功后ajax强制页面刷新?

来源:互联网 

I have an ajax call and after it success, it force a refresh or re-submit on the current page. I have the e.preventDefault to stop this so this is confusing. I do not want to re-submit or refresh on the page when i click submit on the form, I want to call ajax and put its content on the page. This is asp mvc4. I know it does call the method right and got a result from it. The alert I putted in the success call did pop up and have the correct content, but after I click ok, it look like the page re-submit or refresh.I have an ajax call and after it success, it fo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: