Picking random numbers using JavaScript - Taking numbers from a list
I want to create a script that randomly picks a number from a list of 5 nums (eg. 1,2,3,4,5) then remove it from the list. Then repeat this process untill all the nums have been randomly picked.
Preferably I would like to store these numbers in an Array if this can be done.
----------
[email protected]
vegas.com.au/~jasper
John Pollock posted this at 03:47 — 6th July 1999.
He has: 628 posts
Joined: Mar 1999
I'm not really sure on this one, I'll keep an eye out and see what I can find.
----------
Page Resource: http://www.pageresource.com
JavaScript City: http://www.javascriptcity.com
Java Script: A Beginner's Guide
Page Resource
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.