我想使用document.getElementById('parameter')
. 但是 id 元素位于几个嵌套 iFrame 的链中,因为查询返回 null 值(PS:-所有 iFrame 都属于同一个域)
有什么方法可以让我在 iFrame 中查询这个 id 元素而不找出父 iFrame?
请帮忙 !!
我想使用document.getElementById('parameter')
. 但是 id 元素位于几个嵌套 iFrame 的链中,因为查询返回 null 值(PS:-所有 iFrame 都属于同一个域)
有什么方法可以让我在 iFrame 中查询这个 id 元素而不找出父 iFrame?
请帮忙 !!