` And also, once iframe is loaded, you access its contents from Javascript. var io = document.getElementById('if1'); alert(io.contentWindow.document.body.innerHTML); Normal browsers, obviously, return content exactly as it is. But internet explorer 8 returns something funny text
Even though right-click/view-source on iframe shows correct content: `
` I didn't try other IE versions. Did you see this issue before? This is a very simplified version of the problem I've met while adapting webapp to IE. Basically, I do ajax requests through iframe (not xhr, I need to upload files) and html fragments are returned. Thanks a lot! [1]: http://brazilwide.com.br/debug/iframe_issue.html
Hmmm. Have you tried giving the inner frame a full, valid structure (
....
)?