Some events in JavaScript fire before others. For example, with an input element, the keydown and keypress events fire first. Then, if the return value from those was not fa
W3C - Document Object Model Events - but as always... some browsers doesn't support everything.