title: How to print the value of text box dynamically
body: <p>I have text box called "userInput" and one submit button.I want to print the value of the text box which is entered by user like a stack(previous values also,not just the current value).</p>
  
  <p>any idea..??</p>
  
  <pre><code>&lt;input type="text" name="userInput"/&gt;
  &lt;input type="button" name="sub" value="submit"&gt; 
  </code></pre>
  
  <p>Thank in advance!</p>