Re: Packaging all sub-DOMs of frames/iframes in a page into a single document object.
stony_dreams <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
stony_dreams wrote:
>
> Ok.. I found the way to extract all the documents of the frames as
> follows:
>
> var allFrames =
> window.top.getBrowser().selectedBrowser.contentWindow.frames;
> var allDocuments = new Array();
>
> for(var i = 0; i < allFrames.length; i++){
> //Access individual doms by allFrames[i].document
> }
>
I just wanna verify that after serializing all the doms of the of the
respective frames, do i also need to concatenate the resulting string with
the serialized dom of content.document exclusively again?
Does serializing all the frames does not contain the actual
content.document's dom?
Thanks..
--
View this message in context: http://www.nabble.com/Packaging-all-sub-DOMs-of-frames-iframes-in-a-page-into-a-single-document-object.-tp15033116p15117050.html
Sent from the Mozilla - DOM mailing list archive at Nabble.com.