pthompson2002
09-09-2002, 04:12 PM
I have used the following code in IE5 to highlight a specific piece of text in a text box, but I have discovered that this does not work in Netscape 4+, can anyone tell me the equivalent of such a function that works for NN?
cheers
Pete
-----------------------------------------------
var rng = thisform.characters.createTextRange();
if (rng.findText(ch)) { //ch is a predifined rng.select();
}
----------------------------------------------------
cheers
Pete
-----------------------------------------------
var rng = thisform.characters.createTextRange();
if (rng.findText(ch)) { //ch is a predifined rng.select();
}
----------------------------------------------------