![]() |
How to add new items in my script?
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:
Quote:
|
It would help if you used the [code] tags. Then we could see your indentation. Also, why have you multiplied by 100000 to get minutes? It should be 60000.
As for populating your word list, why not have the user enter in some words, then do something like: :
dictionary = document.getElementById("userwords").value.split(" "); |
| All times are GMT -5. The time now is 1:59 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC