General discussion
July 4, 2001 at 09:00 PM
agworld

Error in Java Script.SetFocus in IE5?

by agworld . Updated 24 years, 10 months ago

1.In my code, a text field with size=3, max size=3, after each letter typed I run a java script to check the lenght of the field. If lenght ==2 (i.e. 3 letters entered), then Set Focus to next field.

2. The above logic worked fine in IE4, and also in Netscape 4.
3. But in IE5, when the 3rd letter is entered, control goes to next field WITHOUT setting the last letter entered. So atmost 2 leters may be entered.
4. Is there any patch available to rectify this? Any work around?

We have used above logic for each field entry in the entire application. The solution thus has to be a highly optimised in terms of effort.
**Our users use both IE4 and IE5 at present.

This discussion is locked

All Comments