A
Andrew Crowe
Hi guys,
Using the following function
function class_getSelection(){
if (browser.isIE5up) {
return EpozElement.contentWindow.document.selection;
} else {
return EpozElement.contentWindow.window.getSelection();
};
}
I can get the text that a user has selected on a page.
However it parses out all the html and just returns the selection as
plain text. Is there any way to return the users selection including any
HTML tags.
Using the following function
function class_getSelection(){
if (browser.isIE5up) {
return EpozElement.contentWindow.document.selection;
} else {
return EpozElement.contentWindow.window.getSelection();
};
}
I can get the text that a user has selected on a page.
However it parses out all the html and just returns the selection as
plain text. Is there any way to return the users selection including any
HTML tags.