I am using e.keyCode || e.which; to determine which key was pressed, but I am getting 65 for both a and A why is this happening and ho
e.keyCode || e.which;
a
A
just use e.which in jquery. They normalize this value for all browsers.
e.which
Additionally you can check for e.shiftKey.
e.shiftKey