小编Mis*_*dee的帖子

使用javascript函数在iFrame中加载页面

我正在尝试使用Javascript函数在名为"cake"的iframe中加载网页.我怎样才能做到这一点?

<html>
  <head>
  </head>
  <body>
    <button onclick=[function]>Load page in iframe</a>
  </body>
</html>
Run Code Online (Sandbox Code Playgroud)

javascript iframe

8
推荐指数
1
解决办法
2万
查看次数

标签 统计

iframe ×1

javascript ×1