...

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



mosw
05-14-2009, 09: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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum