$("#input").keyup(function(){
console.log($(this).val());
})
Problem is when one is typing slowly "a" & "b" the above code will result in "a","b" in console log. But when somebody does it quickly the result is "ab","ab". It's easier to do with letters which are near on a keyboard eg. "e"&"r". How to avoid it?
Events keydown and keypress does not suffer with problem of "quicktypers", but they are also to early in this case, because value of an input does not contain last typed letter when they occur. Or maybe there is a way to get this lest letter some how?