首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

window.location.href 在 FireFox 3.0.3 下却不管用,有什么好的解决方法没有

2012-04-05 
window.location.href 在 FireFox 3.0.3 下却不管用,有什么好的解决办法没有?htmlheadtitletest loc

window.location.href 在 FireFox 3.0.3 下却不管用,有什么好的解决办法没有?
<html>
<head>
<title>test location</title>
</head>
<body>
test
<script type="text/javascript" lang="javascript">
alert("测试测试window.location.href");
window.location.href("http://www.tom.com");
</script>
</body>
</html>

在IE 6.0下 可顺利打开 http://www.tom.com ,在 FireFox 3.0.3 下却不管用,有什么好的解决办法没有?

[解决办法]
没试过.这个呢?
document.location.href
[解决办法]
window.open()
[解决办法]

探讨
window.open()

热点排行