events not firing for "input" in chrome jquery
<p>I can't get any key events to fire on an input element with jquery.  Given the following code:</p>

<pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;
&lt;html&gt;
    &lt;head&gt;
        &lt;script type="text/javascript" src="./js/jquery-1.5.1.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript" src="./js/jquery-ui-1.8.14.custom.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript"&gt;         


            $("#cmd").keypress(function(event) {
                alert("keypress");
                if(event.which == 13){
                    $.ajax({
                        type: "POST",
                        url: "update",
                        data: "key=" + key + "&amp;cmd=" + $("#cmd").val()
                    });
                    $("#cmd").val("");
                    $("#cmd").focus();
                }
            });


    &lt;/script&gt;
        &lt;title&gt;BCMD&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div id="main" style="background-color: black; color: white; width:100%; height:500px;"&gt;
            &lt;input id="cmd" type="text" style="border:0;"&gt;&lt;/input&gt;
        &lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Nothing is firing.  Any ideas?  Thanks.</p>
