selects text in input/textarea
inp | string|number|HTMLElement | id or object |
start | number | start position |
end | number | end position |
var input = document.getElementById("someInputId");
window.dhx.selectTextRange(input, 0, input.value.length-1);
Back to top