How can I get the content of the body in an iFrame
and store it in a new div
? For example:
<div class="area">
<iframe id="e_iframe" class="pt">
#document
<html>
<body>
BODYContents
</body>
</html>
</iframe>
</div>
Can I store the content BODYContents
in:
<div id="myid"></div>
with JavaScript?