Jquery KeyPress Doesn't work
<p>Any idea why this doesn't work whatsoever on any browser?</p>

<p>If i try it in jsfiddle it works.</p>

<pre><code>$('#input_area').keypress(function(e) {
    if(e.which == 13) {
        alert('You pressed enter!');
    }
});
</code></pre>

<p>HTML </p>

<pre><code>&lt;script type="text/javascript" src="counts.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="jquery-1.6.2.min.js"&gt;&lt;/script&gt;
&lt;/head&gt;

&lt;body&gt;
&lt;input type="text" id="input_area"/&gt;

&lt;/body&gt;
</code></pre>

<p>JS</p>

<pre><code>$(document).ready(function() {
$('#input_area').keypress(function(e) {
    if(e.which == 13) {
        alert('You pressed enter!');
    }
});
});
</code></pre>
