Never mind, I got it. Here is an example for anyone who searches for the
answer here later...
(txt is input of type text)
var oRange = txt.createTextRange();
oRange.moveStart("character", 0);
oRange.moveEnd("character", txt.value.length);
oRange.select();
txt.focus();
Paul
"PJ6" <no****@nowhere.net> wrote in message
news:rPkkf.6254$SY.3601@trnddc06...
I'd like to be able to control the text selection in an input of type
text, but JavaScript tells me that selectStart and selectEnd are
undefined. Since these properties are referenced in many JavaScript
examples I must be doing something wrong. Can anyone clue me in?
TIA,
Paul