📌  相关文章
📜  iframe onload site:stackoverflow.com - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:44.349000             🧑  作者: Mango

代码示例1
var iframe = document.getElementById('iframe'),
    htmlStr = "

Hell World11111

"; iframe.src = 'data:text/html,'+htmlStr;