Is there anyway to get the source code of the page that an iframe loaded? I do not wish to CHANGE any of the code, I just want to READ it. I also need to be able to get this using javascript/html.
document.getElementById('iframeID').contentWindow.document.body.innerHTML
Works in Firefox, Chrome, Opera, IE9 beta
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With