I tried to detect which key is pressed..
I checked it in two computers with the same browser (chrome), but I got two different results:
my func is someting like: $("input").live('keyup', function (event) {
keyPressed = event.which || event.charCode || event.keyCode || 0;
in one computer, the key down is equal to 40 but in the other computer, it equals to 82.
how can I fix it?
any help appreciated!