title: jQuery: on keypress in input field trigger an action
body: <p>I have a small input window with id of "#property_id". I am trying to achieve running the function "mapSettleTime()" on pressing the enter key. This code below is not working. Any suggestions? </p>
  
  <pre><code>$('#property_id').keypress(function(e) {
    if(e.which == 13) {
      mapSettleTime();
    }
  });
  </code></pre>