Javascript, getting value using key press is always one character behind the latest?
<p>Is there anyway around this?</p>

<p>If i pressed 'St', by the time i had pressed the t, if i were to output the input textfield.value in the onkeypress/onkeyup/etc function, i would only get 'S'??</p>

<p>How do i get rid of this lag?</p>
