相关疑难解决方法(0)

如何在Javascript中获取iframe的正文内容?

<iframe id="id_description_iframe" class="rte-zone" height="200" frameborder="0" title="description">
  <html>
    <head></head>
    <body class="frameBody">
      test<br/>
    </body>
  </html>
</iframe>
Run Code Online (Sandbox Code Playgroud)

我想得到的是:

test<br/>
Run Code Online (Sandbox Code Playgroud)

html javascript iframe

146
推荐指数
7
解决办法
41万
查看次数

标签 统计

html ×1

iframe ×1

javascript ×1