I got:
$(someTextInputField).keypress(function() { alert($(this).val()); });
Now the alert always returns the value BEFORE the keypress (
instead of keypress, use keyup.