title: How to connect Enter key to Submit button
body: <p>I'm building a data entry form that includes a Submit button which runs a script.  This works fine, but I'd like to take the extra step.  </p>
  
  <p>In my experience with most web forms, the Enter key can be tied to a certain command, regardless of the cursor location in the form. I'd like the enter key to be tied to this Submit button.  Then, regardless of which field currently has the focus, hitting Enter will run the Submit script.</p>
  
  <p>So, how do I tie the Enter key to the Submit button?</p>
  
  <p>My best guess is to make an OnKeyPress event for every single enabled text box. For obvious reasons, I'm hoping there's a better way.</p>