This browser is version 4.0 (compatible; MSIE 5.01; Windows NT 5.0)of Microsoft Internet Explorer

解决方案 »

  1.   

    改为:var elems = document.all;
    可以了,谢谢大家。
    难道var elems = document.getElementsByTagName("*");不可用?
      

  2.   

    嗯,看到了一点资料。
    Therefore, to access the frameBorder property of a frame element object from a
    script living in any frame of a frameset, the syntax is
    parent.document.all.frame1ID.frameBorder
    or, for IE5+/NN6+/W3C
    parent.document.getElementById(“frame1ID”).frameBorder