请问firefox中怎么取得页面上iframe中的文本框?
试了很久,在firefox中怎么都得不到iframe中的对象
比如页面上的iframe
<iframe src="1.htm"></iframe>
通过代码
var if1 = document.getElementById("if1");
能找到该对象
但是接下来if1.document.getElementById("tx1");就怎么都得不到
其他的比如document.frames["if1"]连iframe的引用都得不到
不知道firefox下面该怎么获取
请各位帮忙,谢啦。