R
Rithish Saralaya
Does the tab key override the onblur event? I have a text field whose
input I validate on blur, and set the focus back again if invalid.
Effectively, I do not want the user to move out of the control unless
the data entered is validated. This works fine, when I try to click on
some other control. However, on tabkey press, the onblur does get
fired, but the focus also moves onto the next control. It gives a user
experience of hopping onto the next control and coming back again to
the current. I believe tab key is a system key, and it cannot be
overridden. But, should it not move out only after the necessary event
executions?
Any suggetions would be greatly appreciated.
I am using IE 6.0 for my tests.
Regards,
Rithish.
input I validate on blur, and set the focus back again if invalid.
Effectively, I do not want the user to move out of the control unless
the data entered is validated. This works fine, when I try to click on
some other control. However, on tabkey press, the onblur does get
fired, but the focus also moves onto the next control. It gives a user
experience of hopping onto the next control and coming back again to
the current. I believe tab key is a system key, and it cannot be
overridden. But, should it not move out only after the necessary event
executions?
Any suggetions would be greatly appreciated.
I am using IE 6.0 for my tests.
Regards,
Rithish.