嗯,看到了一点资料。 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
可以了,谢谢大家。
难道var elems = document.getElementsByTagName("*");不可用?
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