JQuery detect arrow keys press

Here is a tested example of how to detect arrow keys press using JQuery.You can detect up key,down key,left and right key is pressed.

Here is a full code.Run these script in the firebug console.You can test this.

Published by

Sumith Harshan

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.