title: Click function firing on pageload?
body: <p>Trying to figure out how this is possible...</p>
  
  <pre><code>$(function() {
     $('#saveBtn').click(save());
  });
  
  function save(){
      alert('uh');
  }
  </code></pre>
  
  <p>.</p>
  
  <pre><code>&lt;form id="video-details" method="post" action=""&gt;
      &lt;input id="saveBtn" class="submit" type="submit" name="submit" value="Submit Video" disabled/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I set a breakpoint on the <code>save()</code> function and it is being called by an anonymous function on the line with the click event listed. However this is happening directly on load, not to mention that the input starts off invisible and disabled so there is no way to click it. </p>
  
  <p>I changed the click function to different elements that both exist and don't exist and whatever I make it the function still fires on <code>pageload</code>.</p>
  
  <p>Not sure where else to investigate the cause of this, but I'm assuming it's not normal behaviour</p>