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) 
$(function () {
    var returnsValue; // Type:  any
    // Parameters
    var start; // Type:  number
    var end; // Type:  number
    
    returnsValue = $(".selector").wijinputdate("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

wijinputdate type
wijinputdate jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.