title: Using Jquery to hide/unhide the textbox if button is clicked
body: <p>I have input button , what I want is if a user clicks on the button then textbox should appear.</p>
  
  <p>Below is the code which is not working :</p>
  
  <pre><code>&lt;input type="submit" value="Add Second Driver" id="driver" /&gt;
                      &lt;input type="text" id="text" /&gt;
  
  $("#driver").click(function() {
  
      $('#text').show();
  
    }
   });
  </code></pre>
  
  <p>Also the textbox should not be visible initially</p>