NameSilo

Creating multiple dynamic list boxes from Mysql database

Spaceship Spaceship
Watch
Impact
0
I want to create multiple dynamic list boxes on the same page and i want to make the list boxes
dependant. My list boxes are Vehicle make, Vehicle model and Vehicle spec. What i would like my webpage to do is this:

On selecting the Vehicle make from the first list box i would like it to only show the relevant Vehicle models for the Vehicle make that has been selected. On selecting the Vehicle model from the next list box i would like it to only show the relevant Vehicle Specs for the Vehicle model that has been selected. The fourth and final list box is Job type and this is not a dependant list box. I have tried some PHP examples but i am used to using dreamweaver and would prefer something that i can base around this. For example creating the list boxes in dreamweaver and having possibly javascript or php based around this. If anybody could provide me with a basic example of this or point me in the right direction it would be a great help.

Thanks in advance for any help given!!!!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I don't know how you would do it really - it would need javascript to work, even in the selection boxes:

Code:
<select onChange="...">........

It may be better and easier to have the user choose a car make on the first page, then "continue" onto the next page, where they choose the model etc... :) That is how I would do it. You don't want the problem of people not being able to use your website.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back