title: jQuery .on keyup and blur firing onload only
body: <p>Problem:
  The <code>blur</code> and <code>keyup</code> events each fire once onload, and only onload. How can I get them to work correctly?
  <br><br>
  jQuery:</p>
  <pre><code>function myFunction(text){
      alert(text);
  }
  $('#input1').on({
      keyup: myFunction('keyup'),
      blur: myFunction('blur'),
      focus: function(){console.log('focus!');}
  });
  </code></pre>
  <p>Fiddle: <a href="https://jsfiddle.net/GrMQX/" rel="nofollow noreferrer">https://jsfiddle.net/GrMQX/</a></p>