Possible Duplicates:
Random number generator without dupes in Javascript?
Generate 8 unique random numbers between 1 and 100
HI, I want to create an array of random numbers which should have unique values.i want to do this using java script ,Can any one give me a solution...?