# KeyBoard and Form Events
# Keyboard
The three main events that you deal with for the keyboard are keyup
, keydown
and keypress
.
# Form Events
Also, be aware that there are Events attached to form elements that can be used as triggers for code. input
, change
, select
, focus
, blur
, and submit
are all events for <form>
elements and the other elements inside the form like <input>
, <select>
, and <textarea>
.