Events onKeyDown onKeyPress onKeyUp event.keyCode event.charCode event.which Notable Gotchas Firefox and onKeyDown vs. onKeyPressed Firefox and keyCode vs. charCode Enter key and onKeyPress on Firefox vs. IE