try:var t=iframetop.document.all.cometelshow;//取表格对象
var t=document.all.iframetop.contentWindow.document.all.cometelshow;//取表格对象

解决方案 »

  1.   

    以下解决:    var t=document.iframetop.cometelshow;
    不明白!
    楼上的俺再试试
      

  2.   

    wsj的都行,这三种方法都行,纳闷中:为何 t=document.all.iframetop.document.all.cometelshow;//取表格对象
    就不行!
      

  3.   

    关键在
    document.all._id.是dom结构的对象,要得到window对象还要加contentWindow
    _name.是window你的document.iframetop.cometelshow
    =window.document.iframetop=window.iframetop=iframetop
    (这是浏览器的省略机制)所以,记住要得到window对象,不要all就可以了
      

  4.   

    如果只能用id,那就加上contentWindow(IE5.5+)引用到其window就可以了