If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Dynamically changing drop down boxes

Hi All.
I have a javascript function that changes the value of the next dropdown box from a list of multiple dropdown boxes based on an onchange event as shown below.
What I want to do is if the user selects for instance "software manufacturer" then it is never available again in any of the next dropdown boxes.
I can get this to work for the second checkbox but it comes back again for the 3rd checkbox and so on.

the purpose of the script is, I have columns in text boxes on the left hand side from a spreadsheet, and on the right hand side the drop downs, so if the user select keep existing then the original column name will be inserted into the database, if they choose ignore then it wont, the software_manufacturer, product_name and product_version will always be there and can only be inserted once.

You might be better off creating one selection list and one chosen list and move the choices between them.
When the use has finished their selections, use either list to query your database.
Would be a lot easier to maintain than the way you are currently trying to code.