views:

315

answers:

1

How to create Iframe using AJAX (not just add Iframe block element but create iframe from 0)?

+1  A: 
var iframe = document.createElement('iframe')
iframe.src = '....';

document.body.appendChild(iframe);

And the iframe is not created using Ajax, it's created using simple Javascript.

Emil Ivanov