title: jQuery .click method not working
body: <p>I'm trying to change the value based on if the user clicks a button and I have this code, but nothing is happening when I click. It's after the document loads, so I know that isn't the problem.</p>
  
  <pre><code>$('#delete').click(function() 
  {   
      document.getElementById("deletedHidden").value= "yes";  
      alert("Click hit.");    
  });
  </code></pre>
  
  <p>and this is the html</p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;&lt;input id="delete" name="delete" type="button" value="Delete"&gt;
  </code></pre>