if(window.navigator.userAgent.indexOf("MSIE") >0){
// location.href =rootPath + 'abc.htm';
window.history.go(rootPath + 'abc.htm');//IE执行的方法
}else{
window.history.replaceState({},"",rootPath + 'abc.htm');
}
IE浏览器的时候都报不支持对象,我用的是IE9,有没有大神能提供一个IE不刷新页面改变浏览器地址的方法,小弟跪谢~~~
前端:pjax就可以