View Full Version : Adding A Text field's value to a select option

10-10-2005, 06:25 AM
Hello again, it is me, Wizard13335, ever seeking complete JavaScript knowledge. I was looking for a script that would put a text feild's entry into a <select> option value. I think it would be a kind of modified version of this:

<option value="Happy Easter!">Happy Easter!</option> <option
value="Merry Christmas!">Merry Christmas!</option> <option
value="Happy New Years!">Happy New Years!</option> </select>
<textarea id="tx"></textarea>which i got from another thread, but instead of the option value going into the text box, a text fields entry would be going into a select option.
This probably isn't possible, but please reply soon if you have found or already know how to do it.
Thanks :)

10-12-2005, 02:36 AM
Nevermind. I don't really need it anyway.