阅读背景:

在AJAX请求之后在完整页面刷新之后更新div

来源:互联网 

I have an AJAX controller action which returns JSON. The returned JSON is handled via jQuery and contains a message displayed in an update div. The JSON also contains a flag which indicates a change in state. If this is true the entire page needs to be reloaded from a different url. This is currently performed in the jQuery using window.location.replace(url).I have an AJAX controller action which returns




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

分享到: