title: How to get more than one random different item in this javascript
body: <p>I have <strong><a href="http://painfulmouth.com/index2.php" rel="nofollow">this code</a></strong> that picks up a random text link using getJSON. It picks up one random item at a time. I'd like to know how to pick up more than one different item and show them in <code>#randomkeyword</code>. All I can come up with is setting up the script two times, but I think it may have a chance of picking up the same item,  Is there any way to do that? </p>
  
  <pre><code>jQuery.getJSON('random.json', function(data) { //Ajax call
  
  var item = data.link[Math.floor(Math.random()*data.link.length)]; 
  
  jQuery('&lt;a title="' + item.des + '" href="http://' + item.url + '"&gt;'+ item.title +'&lt;/a&gt;').appendTo
  
  ('#randomkeyword');
  
  });
  </code></pre>
  
  <p>JSON File:</p>
  
  <pre><code>{"link":[{"title":"XXXX","url":"google.com","des":"light"},{"title":"CCCCCCC","url":"yahoo.com","des":"dark"},{"title":"DDDDDDDD","url":"song.com","des":"light"},{"title":"CCCCCCCCCCCCCCC","url":"googlemap.com","des":"normal"},{"title":"RRRRRRRRRRRRRRR","url":"fun.com","des":"halo"}]}
  </code></pre>