Hi,

I am facing the difficulty in the selecting a text on the browser . And highlighting the text.
I am using the window.getSelec tion() to get the object and after that i am using the range.getRangeA t(0).cloneConte nts() method for getting the copy of the document content my requirement is to get the exact html text . But when we are assigning the text into the innerHTML it complete the DOm structure...