An often forgotten event when working with web pages is the keyboard event. However, keyboard events can be some of the most useful, especially if you are trying to make your web site feel more like a web app.
Users are accustomed to hot keys that perform different functions and interactions as you enter data into fields in applications. Keyboard events let you accomplish just that. The following phrases show you how to detect keyboard input and utilize the event object to determine which key(s) were pressed.