title: Read input Values and Display In DIV or Textarea Randomly
body: <p><a href="http://liveweave.com/SmxRe1" rel="nofollow">http://liveweave.com/SmxRe1</a></p>
  
  <p>What I'm trying to do is take the value if the inputs and randomly display it in a textarea. When I insert say "100" in the input textbox's it shows a random number below 100. I'm trying to just take the inputs and randomly show the input values in the textbox. I thought I knew what to do but evidently I don't otherwise I wouldn't be posting here.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;Random Value Test Generation&lt;/title&gt;
  &lt;meta http-equiv='Content-Type' charset='utf-8' content='text/html;charset=ISO-8859-1'&gt;
  &lt;script src='http://code.jquery.com/jquery-1.9.1.min.js' type='text/javascript'&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $(function() {
      $('#genbtn').click(GenRandomInput);
  
      function GenRandomInput() {
          var txtval = $("input[name='textbox1']").val();
          var txtvals = $("input.textbox").val();
          var testrandomnuminputs = Math.floor(Math.random() * 11)
          var randinputs = Math.floor(Math.random() * txtvals);
  
          $('#raninputs').val(randinputs);
  
    return false;}
  });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;&lt;label&gt;Truth #1&lt;/label&gt;&lt;input type="text" name="textbox1" class="textbox" value="One" /&gt;&lt;/div&gt;
  
      &lt;div&gt;&lt;label&gt;Truth #2&lt;/label&gt;&lt;input type="text" name="textbox2" class="textbox" value="Two" /&gt;&lt;/div&gt;
  
      &lt;div&gt;&lt;label&gt;Truth #3&lt;/label&gt;&lt;input type="text" name="textbox3" class="textbox" value="Three" /&gt;&lt;/div&gt;
  
      &lt;div&gt;&lt;label&gt;Truth #4&lt;/label&gt;&lt;input type="text" name="textbox4" class="textbox" value="Four" /&gt;&lt;/div&gt;
  
      &lt;input type="button" id="genbtn" value="Start"&gt;
  
      &lt;div class="genarea"&gt;
          &lt;textarea id="raninputs" placeholder="Random inputs generate here"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>