||View All MessagesBack to WebFX|
I recently found the following code sample for integrating autocomplete functionality into a web application. This is working fine in IE 4, but I'm unable to get the proper behavior in IE 5. In IE 4, text becomes highlighted as the user types in characters and a matching string is found. In IE 5, however, the highlighting does not occur, and the cursor is positioned at the end of the string, preventing the user from typing the intended phrase.
var r1 = autoComplete.createTextRange();
var r2 = autoHidden.createTextRange();
Any suggestions or tips would be appreciated.