»
EnglishFrenchVietnamese

Print - Enter Key Focus - JavaScriptBank.com

Full version: jsB@nk » Form » Enter Key Focus
URL: https://www.javascriptbank.com/enter-key-focus-2.html

Enter Key Focus © JavaScriptBank.comForm users can move to next text field by pressing the enter key.

Full version: jsB@nk » Form » Enter Key Focus
URL: https://www.javascriptbank.com/enter-key-focus-2.html



HTML
<FORM METHOD="POST">Name:     <INPUT TYPE="TEXT" onKeyDown="if(event.keyCode==13) event.keyCode=9;" size="20"><BR>Address:     <INPUT TYPE="TEXT" onKeyDown="if(event.keyCode==13) event.keyCode=9;" size="20"><BR>City:     <INPUT TYPE="TEXT" onKeyDown="if(event.keyCode==13) event.keyCode=9;" size="20"><BR><INPUT TYPE="submit" Value="Ok"><INPUT TYPE="reset" Value="Cancel"></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->