title: bind click and keyup of different target to do same function
body: <p>I have a submit button, I use <code>$("#submit")</code> to perform "myAction function", but in the same time I also want if the user pressed enter, it perform "myAction function"..</p>
  
  <p>I can't do like this </p>
  
  <pre><code>$("#submit").on('click keyup', function(){
   //myAction function
  });
  </code></pre>
  
  <p>because I have to attach the keyup event to my input field instead of #submit..</p>