簡體   English   中英

Window.location.replace在IE 7上不起作用

[英]Window.location.replace is not working on IE 7

我有下面的Javascript代碼。 在生產環境的IE-7上這不起作用。 有人能幫助我為什么在IE-7上發生這種情況嗎?

是否由於任何IE安全設置而發生此問題?

碼:

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

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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM