iframe内部的iframe,并使用PHP从父级获取信息

iframe内部的iframe,并使用PHP从父级获取信息,php,iframe,Php,Iframe,易趣拍卖,代码如下: <iframe width="1416" height="3384" frameborder="0" id="desc_ifr" src="http://adomain.com/mainframe"> <h1>the content</h1>other content <iframe src="http://another_domain.com/frame.php"> </iframe>

易趣拍卖,代码如下:

<iframe width="1416" height="3384" frameborder="0" id="desc_ifr" src="http://adomain.com/mainframe">
<h1>the content</h1>other content 

     <iframe src="http://another_domain.com/frame.php">
     </iframe>

</iframe>
通过frame.php内容,我想返回到id为desc_ifr的父框架,在H1标记中查找关键字,并在找到时执行一些操作


谢谢。

看看:如何创建一个用于在h1标记中搜索的变量,并在找到某个内容时执行某些操作?您的代码无效。元素的内容必须使用src或srcdoc属性指定,而不是通过赋予它子元素来指定。