SyntaxFix
Write A Post
Hire A Developer
Questions
control the Key codes %=37 and &=38... and only arrow keys left=37 up=38
%=37
&=38
function IsArrows (e) { return ( !evt.shiftKey && (e.keyCode >= 37 && e.keyCode <= 40)); }