I need to create <iframe> in document and fill it some data.
I try to do it using folowing code:
But in line:Code:ifrCont = document.createElement("IFRAME"); ifrCont.src = ""; ifrCont.height = "100px"; ifrCont.width = "100%"; ifrCont.scrolling="auto"; contBody = document.createElement("BODY"); ifrCont.appendChild(contBody); editedContent.appendChild(ifrCont);
IE says that "object isn't suport this argument or method"Code:ifrCont.appendChild(contBody);
How I can feel iframe dynamically?
Any suggestions would be welcome!
TIA




Reply With Quote