title: Remove value of input using jQuery
body: <p>I need to remove some values from a hidden and text input box using jQuery, but somehow this is not working</p>
  
  <p>Example:</p>
  
  <pre><code>&lt;input type="hidden" value="abc" name="ht1" id="ht1" /&gt;
  &lt;input type="text" name="t1" id="t1" /&gt;
  </code></pre>
  
  <p>I use the following jQuery code to remove the values with an onclick event</p>
  
  <pre><code>$('#rt1').click(function() {
      $('#t1').val();  
      $('#ht1').val();  
  });
  </code></pre>
  
  <p>Can I empty the contents of the input box and clear the value of the hidden field using jQuery?</p>