I'm a little (not a lot) more than a beginniner at using JavaScript to various things, but I can't figure out a way to randomize a list of elements and get the result to print. I was trying to combine Math.random, an array of the elements i want to randomize, and an iteration with document.write, but I got nowhere. Any suggestions are appreciated.
2006-12-26
15:49:52
·
3 answers
·
asked by
LSN
2
in
Computers & Internet
➔ Programming & Design
I want the printed result to be the complete list of elements, but with the elements ordered randomly. That's what I was trying to do by iterating document.write.
2006-12-26
17:42:22 ·
update #1