title: How to adjust textarea size with javascript?
body: <p>I would like a text box be able to expand if the user clicks a button.  I know I have to use onclick function.  I know there are many examples with an auto adjusting textbox but I want the user to click it and it will expand and then save that data after they click a button to shrink it.  </p>
  
  <pre><code> &lt;textarea rows="8" cols="80" id="queryText" name="query" requried&gt;
  &lt;/textarea&gt;
  </code></pre>