Fiddle test page of the submit button: https://jsfiddle.net/syc19jtp/ Fiddle test page on keypress event: https://jsfiddle.net/ek1p9L0n/1/
Fiddle test page of the submit button: https://jsfiddle.net/syc19jtp/ Fiddle test page on keypress event: https://jsfiddle.net/ek1p9L0n/1/