开发者

Can we change the url in ajax script when ajax is using in MVC?

开发者 https://www.devze.com 2022-12-28 17:00 出处:网络
Can we change the url in ajax script when ajax is using i开发者_StackOverflow社区n MVC? & How it can be done?Do you mean you change the page (or url) instead of some div Using Ajax?

Can we change the url in ajax script when ajax is using i开发者_StackOverflow社区n MVC? & How it can be done?


Do you mean you change the page (or url) instead of some div Using Ajax?

if this is Question Answer is YES

EDITED:

It can be done in Rails using:-

  render :update do |page|
    page.redirect_to "www.google.co.in"
  end
0

精彩评论

暂无评论...
验证码 换一张
取 消