title: How can I get jQuery .val() AFTER keypress event?
body: <p>I got:</p>
  <pre><code>$(someTextInputField).keypress(function() {
    alert($(this).val());
  });
  </code></pre>
  <p>Now the alert always returns the value BEFORE the <code>keypress</code> (e.g. the field is empty, I type 'a' and the alert gives me ''. Then I type 'b' and the alert gives me 'a'...). But I want the value AFTER the <code>keypress</code> - how can I do that?</p>
  <p>Background: I'd like to enable a button as soon as the text field contains at least one character. So I run this test on every <code>keypress</code> event, but using the returned <code>val()</code> the result is always one step behind. Using the <code>change()</code> event is not an option for me because then the button is disabled until you leave the text box. If there's a better way to do that, I'm glad to hear it!</p>