I want to be able to see new values that are entered into a text box using jQuery, one by one (character by character). I don't want the values from the text input, rather I want the value from each event, and not just the amended string from the text input.
<script type="text/javascript">
$(document).ready(function (e){
$("#input-text").on("input", function (e) {
console.log(e.value); // undefined
});
});
</script>
Is there a way of doing this without comparing the old value of $("#input-text")
with the new one?