iframe ... does it have an innerHTML ?

Sam
Tue, 27 Jun 2006 20:42:54 -0000

If I dynamically create a hidden iframe, how could I add a document in a
string to that element?

e.g.,

var sDocument = '' Hello
world. '';

I''ve tried several variations of appendChild, innerHTML,
document.innerHTML,
createTextNode.

Argh!