本文 31627 pv
3
在FF上面提示是:window.location is not a function ,在IE上面正常工作。
因此,这里是一个解决方法是: 使用window.location不是window.location.href
正确的语法是:window.location(url) or window.location = (url)
window.location.href报错window.location is not a function
© kekehu / 技术资源 / 2009.02.27 / 16:08 / 31627PV
以前 window.location.href这个没有注意到在FF上面有问题。在FF上面提示是:window.location is not a function ,在IE上面正常工作。
因此,这里是一个解决方法是: 使用window.location不是window.location.href
正确的语法是:window.location(url) or window.location = (url)
2017.09.01 18:50
2015.12.02 18:55
2009.04.27 10:41