This is what i have now:
$("input").bind("keydown",function(e){
var value = this.value + String.fromCharCode(e.keyCode);
}
If the e.keyCode may not be an ASCII character (alt, backspace, del, arrows, etc)... I would now need to "trim" these values from "value" somehow (preferably programmatically - not with lookup tables)
I'm using jQuery.
I must use the "keydown" event. "keyPress" doesn't activate for certain keys I need to capture (esc, del, backspace, etc...).
I cannot use setTimeout to get the input's value. (setTimeout(function(){},0) is too slow.)
I'm stuck. Please help.