Code:
<script type="text/javascript">
$(document).ready(function(){
var __checkKey = null;
$('#SearchAll').keypress(function(e){
__checkKey = e.keyCode;
__value = $(this).val();
console.log(__value);
})
});
</script>
i have an input box that would like to read the value of it whenever the user types something
the problem with the above code for example if i type
abc it will read ab
if i add d to abc to become abcd it will only read abc!
its driving me crazy any ideas???