Event Evaluation
<p>When does a JavaScript event like keydown actually get evaluated.
ie. Till when can one use event.preventDefault() or similar methods to prevent the action from being taken.</p>

<p>I haven't had any luck in trying to find a pattern. All I know that is that if the prevent is executed at the beginning or a statement later, it works(prevents action) but a little later, it doesn't.</p>

<p>Is there any reference for this?</p>
