title: Generate random numbers Jquery
body: <p>I'd like to show a random numbers within my list. Im grabbing the list from the backend, and im just using these numbers as examples. This is my code, I'm not quite sure why its not filling in the  text.</p>
  
  <pre><code>setInterval(function() {
      var number = 1 + Math.floor(Math.random() * 6);
      $('.num-gen').text(number);
  },
  </code></pre>
  
  <p>Made a <strong><a href="http://jsfiddle.net/EK6yG/1/" rel="nofollow">fiddle here</a></strong> to show you what I'm working with. Thanks in advance.</p>