Why is this Javascript redirect code not working in internet explorer 8?
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";
精彩评论