title: JavaScript event.preventDefault() with other arguements
body: <p>I have this call to a function, which I want to pass the parameter btnSubmit:</p>
  
  <pre><code>$(btnSubmit).click( validate(btnSubmit, event) );
  </code></pre>
  
  <p>I want to first prevent the form from submitting and then validate. However, it submits anyway. It works if I don't pass btnSubmit in, but I would like to do that.</p>
  
  <pre><code>function validate (btnSubmit, event) {
      event.preventDefault();
  }
  </code></pre>