tecdesign Posted April 2, 2007 Share Posted April 2, 2007 Does anyone know how to take the html code of an Iframe and read this code in a text box? Some examples of the code are here: function transfer_email() { var coding = iView.document.body.innerHTML; document.getElementById('email_area').innerHTML = coding; } <iframe id="iView" style="width: 415px; height:205px"> </iframe> <p> <input type="submit" name="Submit" value="Transfer to Email" onClick="transfer_email()"> </p> <p> <textarea name="textarea" cols="70" rows="15" id="email_area"></textarea> </p> Link to comment https://forums.phpfreaks.com/topic/45351-retrieving-html-code-from-an-iframe-to-a-textbox/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.