Posted on 2006-04-03
I tried with something simple (div), but can't make it work.
- parent document
- nested iframe document
Parent document contains: <div id='myDiv' style='display:none;'>this is my div</div>
el = iframeDoc.body.appendChild(document.getElementById("myDiv").cloneNode(false));
If I runtime create element (createElement()) and append it to the iframe document body then it works. Where's the catch?