isolate jquery keybind to a single focused element
<p>How can I allow a form to be triggered with the user hits enter, but only if that field is in focus? This is what I have now, but pressing enter anywhere (obviously) triggers the form.</p>

<pre><code> jQuery(window).bind('keypress', function(e){
   if ( e.keyCode == 13 ) {
     jQuery("#goform").click();
     e.preventDefault();
   }
 });
</code></pre>
