...

View Full Version : HTML inside iFrame



mathewvp
07-07-2003, 01:30 PM
hi,
I have an inner frame inside an html document.On submitting the html,I need to take the html code inside the inner frame including the html and body tags.I am only able to get the code inside the body tag.
Can anybody help.

regards

mathew

beetle
07-07-2003, 08:49 PM
In IE, you can use

document.documentElement.outerHTML

Mozilla should see

document.documentElement.innerHTML

as well.

mathewvp
07-08-2003, 11:35 AM
Well I got it.But I had to use
document.myiframe.document.body.parentElement.outerHTML.
Thanks Beetle



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum