View Full Version : Pressing Enter key twice should submit the form

05-14-2009, 10:17 AM
I am trying to enter the chinese characters in a text box(Web Application text box), chinese characters will become a whole word only when we press the Enter key. But after entering a chinese character , if I press the enter key then the form got submitted. Instead the form should get submitted only when I press Enter key for the second time.

Is it possible with Javascript?