Add dropdown and text box values to list

Discussion in 'The Lounge' started by ranjani, Jun 10, 2008.

  1. ranjani


    Jun 10, 2008
    Likes Received:

    I have a form, and in this form, there's 2 drop down a text box , a buttons (labelled "add") and finally, a listbox.

    The question is, when the user clicks on the add button, how do I add the value selected in the drop down selected value and text box value and put it into the listbox? After adding to the listbox, the selected value needs to stay in the drop down menu and not get removed. When the remove button is pressed, the selected value from the listbox just needs to disappear from the listbox and not the drop down menu.
    ranjani, Jun 10, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.