关于google浏览器中 location.href 的问题
求助啊 在谷歌浏览器里 为什么 JavaScript的跳转页面 代码不好使呢?
test.htm:
<input type="button" name="" value="go go go" onclick="javascript:gogo();">
<script type="text/javascript">
<!--
function gogo() {
location.href('test2.htm');
}
/ -->
</script>
test2.htm:
<table cellpadding="0" cellspacing="0" border="0" width="hello" align="center" valign="middle">
<tr>
<td>hello </td>
</tr>
</table>
ie 里面好使 GOOGLE怎么也不好使
可是怎么点击按钮 也不动啊 气死人了
大虾帮忙