you can try onclick (might get fired for more than the mouse) and remove focus. Not sure why you want to do this unless it is for a scanner input.
Joined: Jul 15, 2005
I want to do because its an application similar to ajax (i am using applet and URL connection class.).
I want to do that.Ok letme explain,
Lets suppose that we have 2 text fields and i have a validation on server let 1. one must be required and that must not be empty string for the validations that will be in the 2. field.
I cant give an alert such "fill the first field and try again", this sounds stupid.What if there are about 20 fields ? will i say "you filled this one but passed previous one ,fill that i will validate it then"
I want the user must not focus anything else Tab key I want to force the user use only keyboard for bluring.TAB key.