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:
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.Code:<select onchange="document.getElementById('tx').value+=this.value;"> <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>
This probably isn't possible, but please reply soon if you have found or already know how to do it.
Thanks![]()



Reply With Quote
Bookmarks