Iframe to div js

Iframe to div js

Simply call window.createElement('iframe'); iframe. I’m able to add an onClick event handler via JavaScript as follows and it works fine: iframe.print() – ioCron.