.keypress() not working on the first key pressed
Jsfiddle here:
https://jsfiddle.net/80g2e9em/
HTML
<input>
<p id="model"></p>
JS
$("input").keypress(function(e) {
$("#model").text($(this).val());
});
The problem I have is that when I press a letter first time nothing happens. Only the second and subsequent letters are shown.