¡@

Home 

2014/10/16 ¤W¤È 12:02:44

jquery Programming Glossary: currentboxnumber

Navigating through text input fields using arrow keys and return

http://stackoverflow.com/questions/6399869/navigating-through-text-input-fields-using-arrow-keys-and-return

.keypress checkForAction else textboxes .keydown checkForAction function checkForAction event if event.keyCode 13 40 currentBoxNumber textboxes.index this if textboxes currentBoxNumber 1 null nextBox textboxes currentBoxNumber 1 nextBox.focus nextBox.select.. checkForAction function checkForAction event if event.keyCode 13 40 currentBoxNumber textboxes.index this if textboxes currentBoxNumber 1 null nextBox textboxes currentBoxNumber 1 nextBox.focus nextBox.select event.preventDefault return false if event.keyCode.. if event.keyCode 13 40 currentBoxNumber textboxes.index this if textboxes currentBoxNumber 1 null nextBox textboxes currentBoxNumber 1 nextBox.focus nextBox.select event.preventDefault return false if event.keyCode 38 currentBoxNumber textboxes.index..