Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i passing data from textbox into listbox 1

Status
Not open for further replies.

leon2

Technical User
Jan 18, 2001
6
US
please help me!



thanks
 
please further explain yourself ;-) jared@aauser.com
 
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"
 
so how can i put this script into the form?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top