enter key
-
hi all, when i press enter the entire form is clearing as i have button for clear function.. i want to give focus to next control on enter key, how do i manage to to do this?? how to control users key codes??
-
hi all, when i press enter the entire form is clearing as i have button for clear function.. i want to give focus to next control on enter key, how do i manage to to do this?? how to control users key codes??
Smiles74 wrote:
i want to give focus to next control on enter key
You really shouldn't do it that way - the Tab key is there for that purpose...is the Tab key not suitable for some reason. The only reason I mention this is that in my experience, if you need to do something "unusual", then it's really a workaround for another problem... Oh, and it'll confuse the HELL out of your users too ;)
"Now I guess I'll sit back and watch people misinterpret what I just said......" Christian Graus At The Soapbox