05-24-2010 06:33 PM
Trying to keep it like the Android, Nokia and iPhone I would like to capture the Esc (back) key and move it though my application. My sample test code that only works when the full keyboard is displayed is
alert('Handler for .keypress() called. k C='+event.keyCode);
if ( event.keyCode == 27 )
/* Call my routine for a BACK and move though my app */
Is there a way to capture teh ESC key when just on the page without being in a field? I've tried $(docmuent)... and others and I'm either missing it, or it cant be done, or shooting myself in my foot?
04-23-2011 03:04 PM