Set the values using:
form.selectBoxName.options = form.textName.value;[index].value
The 'options' you wrote to contain the items in the menu are stored in the options sub-array of the select box. You can also change the text which is showing, by altering 'text', instead of 'value'. "Alright whatever man, I'll hook up the hair, but I aint touchin the ring...Cause I'm still a pla--yer"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.