title: Keypress events in JavaScript & JQuery?
body: <p>I am making an HTML slideshow by myself and was able to create most of the thing. The place where I am stuck is the keyboard events. That is forward and backward arrow. I need to know how to handle these using JavaScript or JQuery. These button when pressed would trigger an event so as to move to the next slide or go to the previous one. I also want to mention that my slides are also interactive HTML, as in you can fill in data, validate etc using them. SO i dont want the keyboard events to hinder while the user is interacting with the form or other content on the page via Keyboard (eg. Filling in a form,date etc).
  How to go about this ?</p>