I want to reuse the thing just typed in an input. But there is 'always' a delay of one letter.
I must be missing something but I dont understand Why am I not getting the value I just typed in ?
Here is a working fiddle : https://jsfiddle.net/Baldrani/c9zutks9/
This is the code :
$('#cleaningFeed').keypress(function(){
$('.res').html($(this).val())
});