简体   繁体   中英

Window.location.replace is not working on IE 7

I have below Javascript code. This does not work on IE-7 at production Environment. Could any one assist me that why this is happen over the IE-7?

Is this issue occurred due to any IE security setting ?

Code:

var ajaxData="{URL}";     ** URL: {http://IP:PORT ? SID }

window.location.replace(ajaxData);
window.location.href = ajaxData

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM