title: With jQuery, how do I capitalize the first letter of a text field while the user is still editing that field?
body: <p>I'm looking for an example of how to capitalize the first letter of a string being entered into a text field.  Normally, this is done on the entire field with a function, regex, <code>OnBlur</code>, <code>OnChange</code>, etc. I want to capitalize the first letter while the user is <em>still</em> typing.</p>
  
  <p>For instance, if I'm typing the word "cat", the user should press 'c', and then by the time he presses 'a', the C should be capitalized in the field.  </p>
  
  <p>I think what I'm going for might be possible with <code>keyup</code> or <code>keypress</code> but I'm not sure where to start.  </p>
  
  <p>Anyone have an example for me?</p>