title: how to show text area on button click?
body: <pre><code>&lt;/html&gt;
  &lt;head&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt; 
  $(document).ready(function(){
  $("#popup").click(function(){
     // pop up a text area and I want to store value of textarea in a variable.
  });
  });
  &lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  &lt;form&gt;
  &lt;textarea rows="2" cols="20" id="area" style="display:none"&gt;&lt;/textarea&gt;
  &lt;input type="submit" id="popup" value="OK"&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>How to POPUP a text area on a button click?</p>