Hi guys, does any one know if there is a script out there that will return a given number of random elements?
Mootools has '.getRandom' but this only returns 1 random item from the array. I want to be able to specify the amount of random items to return e.g. var array = [1,2,3,4,5,6,7,8,9] var randoms = array.getRandom(5); //[5,3,7,4,8] -- To unsubscribe, reply using "remove me" as the subject.
