Saturday, July 16, 2011

[Javascript]Choosing a link at random and going to that link?

You can use the random() method. Declare an array to store your list of links and then use the random() method to generate a random index for the array.

No comments:

Post a Comment