Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- pair of random unique number


astupidname - 6:13 am on Apr 26, 2012 (gmt 0)


Or another simple option:
var cards = [1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10].sort(
function(){
return Math.random()-0.5;
}
);
alert(cards);


Thread source:: http://www.webmasterworld.com/javascript/4444938.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com