Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-11-2003, 07:43 PM   PM User | #1
bguilford
New to the CF scene

 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
bguilford is an unknown quantity at this point
Populating a table from dynamic menus

Background: I have a page with a dependant drop-down menu, where it will be filled with information from the first drop-down menu. All of which is coming from an Access 2000 database. So, for example, you select the "Make", and the "Model" menu is then filled with the appropriate models for that make.

My problem is that I can't figure out how to make the selection of both of those menus populate a table on a seperate page.

So basically, If they pick "Honda" and then "Civic" I want to be able to populate a table with information from a database that matches those selections.

Any suggestions or links to point me in the right direction would be helpful.

Thanks.
bguilford is offline   Reply With Quote
Old 07-15-2003, 11:24 PM   PM User | #2
Danne
Regular Coder

 
Join Date: Aug 2002
Location: São Paulo, Brazil
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
Danne is an unknown quantity at this point
I'm not sure I understood.
If you have cars on the menu; Honda, and when the user clicks on it, you want to load all info about Honda from the database and show in a table?

Or do you already have everything downloaded and when the user chooses Honda you just want to build a table containing the data about Honda?
__________________
/Daniel
Danne is offline   Reply With Quote
Old 07-15-2003, 11:27 PM   PM User | #3
bguilford
New to the CF scene

 
Join Date: Jul 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
bguilford is an unknown quantity at this point
I have a dual drop down menu, one for make, and one for model. WHen the user selects the make, then selects the model, I want it to fill in a table, from a database of information, all the vehicles that are of the make and model they picked.

So if they pick Honda, then Civic, it will make a table from the database of all the Honda Civics available.

Thanks.
bguilford is offline   Reply With Quote
Old 07-15-2003, 11:35 PM   PM User | #4
Danne
Regular Coder

 
Join Date: Aug 2002
Location: São Paulo, Brazil
Posts: 367
Thanks: 0
Thanked 0 Times in 0 Posts
Danne is an unknown quantity at this point
In that case you have to do it on serverside with SQL. What serverside language are you using?

The SQL is something like:
SELECT cars.* FROM cars WHERE make='Honda' AND model='Civic'
__________________
/Daniel
Danne is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:12 AM.


Advertisement
Log in to turn off these ads.