Version

getSelection Method

Gets position of start or end selection. Note: that method calls getSelectedText().
Syntax
ASP.NET Ajax Javascript (Specification) 
function getSelection( 
   start : Boolean
) : Integer;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfWebTextEditor.getSelection(Boolean);

Parameters

start
Value of true: return start selection, false: return end selection.

Return Value

Position of selection.
See Also