Version

getSelectedText Method

Gets selected text. It also calculates internal variable for end and start selection.
Syntax
ASP.NET Ajax Javascript (Specification) 
function getSelectedText() : String;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfWebTextEditor.getSelectedText();

Return Value

Selected text.
See Also