Wijmo UI for the Web
selectText Method
Start of the range.
End of the range.
Selects a range of text in the widget.
Syntax
Javascript (Usage) 
var instance = new jQuery.wijmo.wijinputcore();
var value; // Type: any

// Parameters
var start; // Type:  number
var end; // Type:  number

value = instance.selectText(start, end);
Javascript (Specification) 
function selectText( 
   start : number,
   end : number
) : any;

Parameters

start
Start of the range.
end
End of the range.
Example
// Select first two symbols in a wijinputcore
$(".selector").wijinputcore("selectText", 0, 2);
Browser Compatibility
7
5
5

See Also

Reference

wijinputcore type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.