Version

hasFocus Method

Checks if control has input focus.
Syntax
ASP.NET Ajax Javascript (Specification) 
function hasFocus() : Boolean;
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfWebTextEditor.hasFocus();

Return Value

Value of true means that control has focus.
See Also