fylix0000
asked on
How to create a dynamic drop down menu from a table in your database?
Hi, I have a simple table such as
create table A (
column1 varchar(20),
column2 varchar(20)
)
I want to create a drop down menu selection like here in this page : http://javascript.internet.com/forms/auto-drop-down.html#source
However, here is the trick, i want this menu to update automatically the choice of selection for each and every row I added into the table A. Thus if table A has 20 row then this menu will have 20 selection.
Can anyone show me how to approach this issue?
create table A (
column1 varchar(20),
column2 varchar(20)
)
I want to create a drop down menu selection like here in this page : http://javascript.internet.com/forms/auto-drop-down.html#source
However, here is the trick, i want this menu to update automatically the choice of selection for each and every row I added into the table A. Thus if table A has 20 row then this menu will have 20 selection.
Can anyone show me how to approach this issue?
ASKER
The javascript seems like a good starting point...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
1) using javascript to maintain the dependent dropdown box
2) using server side roundtrip
which way do u prefer?