title: Simple jQuery - hide text box
body: <p>I am new jQuery, playing around with it. I would like text box when I click button but it doesn't work in that way. </p>
  
  <pre><code>&lt;input type=text id=txt&gt;&lt;/input&gt;
  &lt;input type=button id=btn value="Click Me"&gt;&lt;/input&gt;
  
  $document.ready(function() {
      $("input#btn").click(function() {
          $("input#txt").hide();
      });
  });
  </code></pre>