开发者

Why is this Javascript redirect code not working in internet explorer 8?

开发者 https://www.devze.com 2023-03-03 02:39 出处:网络
I a开发者_运维百科m using this Javascript to redirect users. It works on FireFox and Chrome, but not in IE8.

I a开发者_运维百科m using this Javascript to redirect users. It works on FireFox and Chrome, but not in IE8.

window.location ="/public/index/offer?act=search";

Please Help.


Use:

window.location.href = "/public/index/offer?act=search";
0

精彩评论

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