PDA

View Full Version : HTML: On button click, show number from list.?




elliott789
Aug 9, 2011, 05:59 PM
Hello
This is what I'd like to do:

Click on a button, then a 4 digit number appears.
This 4 digit number will be one of a five hundred, say, that have already been generated.

So basically, when you click the button, it picks a random number from the number list.
Is there a HTML code for this (or a code that will work in iWeb)

If that makes sense, just say if i haven't explained properly.

Thankyou!