重新加载javascript无法运行IE

时间:2016-04-18 22:06:01

标签: javascript jquery internet-explorer reload

好的我有一个php网站

我需要更新"刷新"一个页面通过JavaScript。

适用于Chrome / Firefox等,但不适用于Internet Explorer。

它绝对需要在IE中工作。作为使用它的软件 使用IE嵌入式。 :(没有改变。

发生了什么...... 该页面在chrome中刷新,但它会回到服务器并重新运行php。 它为页面构建数据。这发生在chrome中。没问题。 使用IE浏览器页面刷新但似乎没有回到服务器。 只需使用已有的数据重新加载页面。

我试过了,.. 兼容模式设置9,10,11,边缘通过html。

location.reload();
location.reload(true);
window.location.reload();
window.location.reload(true);

我已经尝试重定向到另一个页面并且返回错误甚至无法让它工作 发誓说 大喊大叫 以身体伤害威胁它。

无效。

即F5重新加载带有客户端数据的页面。 但是ctrl + F5就像应该的那样。

$.ajax({
url: "../Core/getSessionValue.php",
type: "get", //send it through get method
data:{name:"videowall_refresh"},
success: function(response) {
if(response==1)
{
location.reload();                  
}
}

0 个答案:

没有答案
相关问题