title: How do I generate a number after a button is clicked?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript">How to create a GUID / UUID in Javascript?</a>  </p>
  </blockquote>
  
  
  
  <p>I need to have a script that generates random numbers and letters with a form that looks like this:</p>
  
  <p><code>M3KRT-CKKYV-YH4G4-YXP42-46FMT</code></p>
  
  <p>Prefer jQuery, or javascript. I know how to generate number when the button is click using the <code>.click()</code> method in jQuery. But I can not find out how to actually make the code :(</p>