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> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.