可以.frameID.document.write("aaaaaaaaaa");
frameID.document.body.innerText+="aaaaaaaa";

解决方案 »

  1.   

    index.html
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    </head><frameset cols="80,*" frameborder="NO" border="0" framespacing="0">
      <frame src="left.html" name="left" scrolling="NO" noresize>
      <frame src="main.html" name="main">
    </frameset>
    <noframes><body></body></noframes>
    </html>left.html
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    </head><body>
    <a href="#" onClick="top.document.frames['main'].document.write('ceshi ceshi')">ceshi</a> 
    </body>
    </html>
    main.html
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    </head>
    <body>
    hello
    </body>
    </html>