title: Triggering same function on both click and keypress
body: <p>I have the following function which fires when clicked but how would I also make it fire on enter without creating a new function? (if possible).</p>
  
  <pre><code>$("#jump_menu select option").click(function(){
      var hash = $(this).val();
      var target_offset = $(hash).offset();
      $('html, body').animate({scrollTop:target_offset.top}, 500);
  })  
  </code></pre>