How to add new items in my script?

Discussion in 'JavaScript' started by cabdirazzaq, Jan 9, 2007.

  1. #1
    Let's see if you can help me manage this one... I have this script to help one memorize things. The thing is, I want the user to be able to add their own items/words into the list (not me doing it before hand). Here is the script:

    Please, really need help on this one. Thank you
     
    cabdirazzaq, Jan 9, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I believe js arrays have .push and .pop's to add and remove from arrays.
     
    ccoonen, Jan 10, 2007 IP