title: How to clear the content of the html input text field using Jquery
body: <p>I am having a html text field which can hide. </p>
  
  <p>When hiding I want clear the text field.</p>
  
  <p>I used this and it doesn't work.</p>
  
  <p><code>$('#id').val("");</code></p>
  
  <p>And I tried <code>$('#id').text("");</code> as well. </p>
  
  <p>It removed the whole text field. </p>