window.frames["iframeName属性"].document.getElementById("xxxxInputID").value

解决方案 »

  1.   

    window.frames["iframeName属性"].document引用到iframe的document,然后就可以像操作当前窗口的对象一样
      

  2.   

    document.getElementById("iframeID").contentWindow.document.getElementById("uid").value
      

  3.   

    document.getElementById("iframeID").contentWindow
    ------------------------------
    这个contentWindow是好东东,在FF里似乎也能用的.
    不过,IE5好象是不支持的,楼主用的时候稍加注意.另外,document.all[ "iframeID" ].document.getElementById("uid").value也是可以的.
    FF也支持的.