hello all

i have a jsp page.there is a text box in jsp page.what i want is when i enter a key in text box it accepts it only if it is alphabet otherwise it would give an alert.I want to enable arrow and backspace and delete key.Currently i am using onkeypress event.it is working fine in Internet explore but not in Mozilla.I want to run in both browser.

Please help me out.it's critical

look on this example from jQuery, te email field does essentially what you looking for. You will just need to change events