Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How to focus on particular Text field in asp file


Message #1 by "Rohit" <rohitbh@m...> on Wed, 30 Jan 2002 18:56:32
Hi,

There are two text fields. When one of the text fields is changed, the 
other one is checked for value 1. If it has a value 1, then the change is 
not allowed and the focus should return to the same text field.

I have used "OnChange" to call javascript function, where i am checking 
for the value 1 of the other text field. However, focus() for that text 
field is not working in IE 5.5. (It is working with Netscape.)

Any Solutions??

Thanks and Regards,
Rohit

  Return to Index