PDA

View Full Version : multiple selects


betthat
06-21-2008, 05:20 PM
I have a form, with 4 selects, the first select is populated when the page opens, and its items are taken from a db table, i need, when the user chooses an item from the first select, the second select to populate depending on the choice, picking up its items from another db table, this is part of my code: Loan Company: Loan Type: Rate: Return Rate:
I need the select "Loan Type" to populate by the js function "RefreshLoanComp()" by picking up items from another db table. Then, depending on what the user chooses in the "Loan Type" select the Rate select is populated by picking its items from a db table. If someone can tell me what i should put in the "RefreshLoanComp()" function then i'd do the rest by myself. Thank you all.

davidj
06-21-2008, 11:47 PM
check out my dynamic dropdown tutorials

domedia
06-23-2008, 03:10 PM
http://www.dreamweaverclub.com/vtm/php-dynamic-dropdowns.php