title: jQuery onClick event
body: <p>Cant seem to get this working. Any help would be great. I am somewhat of a beginner with jquery.</p>
  
  <pre><code>$('#add_button').click(function () {
      $("#add_button").hide();
  });
  </code></pre>
  
  <p>Here is the HTML</p>
  
  <pre><code>&lt;input id='add_button' type='submit' class='add_now' value='' /&gt;
  </code></pre>
  
  <p>Seems simple enough, but clicking on the input does nothing. Is there a different method for targeting inputs? Thanks.</p>