Link Details

Link 125476 thumbnail
User 238392 avatar

By davidwalsh
via davidwalsh.name
Published: Oct 14 2008 / 00:46

A customer asked me to create a timecard form a few years ago. Everything with the form worked great but users would mistakenly press the enter key before their form was completed. They asked that I make the enter key move the cursor to the next input instead of submitting the form. This is how I’d do that using MooTools javascript.
  • 8
  • 0
  • 1093
  • 170

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (0)