title: generate random value for hidden input field
body: <p>is it possible to generate a random value (number, symbols, letters) for an input field (preferably hidden) on click?
  I need to come up with an idea to simulate somewhat of a conformation number. Unfortunately I cant save the values into a db.</p>
  
  <p>I thought of something like: 
  input before: <code>&lt;input id="randomizeme" value=""/&gt;</code></p>
  
  <p>javascript or jquery solution:</p>
  
  <pre><code>var randomtext=$('#randomizeme').attr('value');
  
  anybutton.click(){
      randomtext="some numbers randomly scrambled together";
  
  
  }
  </code></pre>
  
  <p>input output: </p>
  
  <pre><code>&lt;input id="randomizeme" value="some numbers randomly scrambled together"/&gt;
  </code></pre>
  
  <p>this is probably all garbage but i hope it helps, as for the tags im not sure either</p>