Answers for "iframe onload site:stackoverflow.com"

0

iframe onload site:stackoverflow.com

var iframe = document.getElementById('iframe'),
    htmlStr = "<html><body><h1>Hell World11111</h1></body></html>";
iframe.src = 'data:text/html,'+htmlStr;
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language