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

Discussion in 'Apple Music, Apple Pay, iCloud, Apple Services' started by elliott789, Aug 9, 2011.

  1. macrumors newbie

    Joined:
    Aug 9, 2011
    #1
    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!
     

Share This Page