title: use jQuery to move the cursor to another field when a certain character is typed?
body: <p>I have two text fields in my web page.  The user is supposed to enter two numbers seperated by a hyphen ("-") character.  The numbers may be between 1 and 10 digits each.  I need the cursor to move to the next field when the user presses the hyphen key.</p>
  
  <p>I can easily move the cursor using <code>$('#txtField2').focus()</code>.  However, I still have the problem that the hyphen character remains in the first text field.  How can I easily supress the hyphen from appearing in the first text field?</p>