Jump to content

js drop down list


hyster

Recommended Posts

im very new to js and i dont no what im looking for so ill try and explain lol

i dont need the code just a hint on where to start looking.

 

im building a form

1 option is to be a drop down list where u select an option then click add which then puts the selection into a field.

i want to do this a few times so i end up with an arrey of selected values.

 

so insted of having 10 fields each with its own drop down i have 1 drop down that fills 1 field.

 

so if u select "apple , orange" u will end up with "apple orange" in the text box

 

hope this made sense

Link to comment
https://forums.phpfreaks.com/topic/272761-js-drop-down-list/
Share on other sites

http://amp.net84.net/java/

 

i want to merge the 2 types of lists. the 3rd option at the top would replave the col 1 on the bottom.

i want to be able to select a tank fom the top section. click add for each tank i own. so i may have 3 and some1 else may have 7. make an array of X amount of tanks.

 

this is to be part of a larger form.

 

hope thats more clear

Link to comment
https://forums.phpfreaks.com/topic/272761-js-drop-down-list/#findComment-1403783
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.