Try this
<script type="text/javascript" language="javascript">
var node = document.createElement("IFRAME");
node.async = "true";
node.src ="http://www.google.com";
node.width="300px";
node.height="400px";
node.frameBorder = "0";
node.scrolling = "NO";
document.body.appendChild(node);
</script>
hope it helps !!!
0
solved dynamic asynchronous iframe creation [closed]