首先,name不可以用数字!改用字母+数字吧。假定命名分别为:f1、f2
<a href="iframe2.htm" target="f2" onmousedown=top.f1.location="iframe1.htm"></a>

解决方案 »

  1.   

    <a href="iframe2.htm" target="f2" onmousedown=top.f1.location="iframe1.htm"></a>
                                                  ~~~~
    top是什么意思?
      

  2.   

    对,原因是name要用字母+数字,改成这样可以了
    <a href="iframe2.htm" target="f2" onmousedown=*.f1.location="iframe1.htm"></a>
    星号为无论加什么或者不加都可以通过。
      

  3.   

    <html>
    <head>
    <title>无标题文档</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    </head><body bgcolor="#FFFFFF" text="#000000">
    <table width="82%" border="1" height="146">
      <tr>
        <td bgcolor="#006699"><iframe src="" name="a1" id="new1" width="100" height="200" marginwidth="0" marginheight="0" align="top" scrolling="no" frameborder="0" border="0" frameSpacing="0" noResize="" vspale="0"></iframe></td>
        <td bgcolor="#009999"><iframe src="" name="a2" id="new2" width="100" height="200" marginwidth="0" marginheight="0" align="top" scrolling="no" frameborder="0" border="0" frameSpacing="0" noResize="" vspale="0"></iframe></td>
        <td bgcolor="#00CC00"><a href="#" onclick="top.a1.location='/jzpz/xsychoose.asp' ;parent.document.a2.location='/jzpz/xsychoose.asp'">aaa</a></td>
      </tr>
    </table>
    </body>
    </html>
      

  4.   

    document.all.id.src行不行?
    比如document.all.1.src='iframe1.htm'
      

  5.   

    打错了,是
    比如document.all.new1.src='iframe1.htm'
      

  6.   

    应该不行,new1是frame对象,不是document的子对象