当点击table的某一行时出现"window.location"不是对象的错误,请高手帮帮忙啊

解决方案 »

  1.   

    window当然没有location了~~~onclick="javascript:top.Location='test2.asp?NO=1'" 

    onclick="javascript:self.Location='test2.asp?NO=1'"
      

  2.   

    晕,看错~~~~
    javascript:window.location="http://www.xxiyy.com"
    javascript:window.location.href="http://www.xxiyy.com"
      

  3.   

    :(,我忘了js 有大小写的,再问一下,我想把上面的table作为左框架,点击其中的一行,在右框架中显示test2.asp的内容(根据NO参数而变)
      

  4.   

    我在<tr > 里面加了target="right"(右框架名),没有作用
      

  5.   

    target="right"-->
    <a href="xxx" target="right">rightFrame</a>
      

  6.   

    难道不能直接点击table,而不用<a>链接点来实现吗?
      

  7.   

    如:
    <table>
    <tr style="cursor:hand" onclick="javascript:parent.mainFrame.window.location='other.asp'">
    <td>haha</td>
    </tr>
    </table>
      

  8.   

    try:
    <td onclick="window.rightFrame.src='xxx.html'">
      

  9.   

    xhbmj(动感超人) 的可以,多谢了