So I haven an input:
<input type="text" name="in" />
And I need to get the current value of the input as I type, the problem that I face is, if I type pass and I do a console.log what I will get will be pas missing the last character; but I need to whole string pass
You can see a live demo here: http://jsfiddle.net/HjVHV/1/ What’s the problem?
You should use the
keyupevent:Inside you get the value you’ve just entered