Can the order of Keypress, Key Down and Keyup be manipulated
<p>I confess to having completely confused myself reading various postings on the subject of event order and binding in jquery.</p>

<p>When testing I got some unexpected results.</p>

<p>As far as I can establish the order in which the event and corresponding handlers are executed is 1. KeyUp 2. KeyPress 3. keydown</p>

<p>This seems counter intuitive I was expecting keydown, keypress, keyup</p>

<p>I see various postings that reporting on how to order handlers bound to the same event but these are different events.</p>

<p>I expect that I am totally over complicating this. Could someone advise how I could ensure that keydown excutes before keypress before keyup.</p>

<p>Many thanks</p>

<p>I arrived at the order based on this snippet. I assume I have misunderstood in some way.</p>

<pre><code>$("#middle_Name").keydown(function(event){
    alert("third is keydown");
}); 
$("#middle_Name").keypress(function(event){
    alert("first is keypress");
});
$("#middle_Name").keyup(function(event){
    alert("first is keyup");
});
</code></pre>
