softDeveloper 0 Junior Poster in Training

How to get the parent node for all selections? this just give one selection out of 4 iframes:

self.parent.frames[i].getSelection().anchorNode.parentNode.outerHTML=self.parent.frames[i].getSelection().anchorNode.parentNode.innerHTML;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.