154
rated 0 times
[
157]
[
3]
/ answers: 1 / hits: 46381
/ 14 Years ago, sat, february 19, 2011, 12:00:00
In javascript, how can I set the innerHTML of an iframe? I mean: how to set, not get.
window[ifrm_name].document.innerHTML= <h1>Hi</h1>
does not work, and the same for other solutions.
Iframe and parent document are on the same domain.
I would need to set html of the whole document iframe, not its body.
I would need to avoid jquery solution.
More From » iframe