self populating drop down boxes
Posted: Tue Apr 20, 2004 10:54 pm
Guys I have an easy one for you i'm guessing. I've searched the internet high and low and have come up empty, but i'm sure i'm just overlooking the answer right in front of me.
Does anyone have a piece of code I can look at that does the following:
Displays a drop down box on a page where the drop down content is grabbed from a mysql database. There is then a second drop down box whos contents depends on the value selected i nthe first box. I'm pretty sure javascript would be used for this. The final values are then sent over to another page.
As an example lets say you have a car site. In the first box would be the make of the car eg: Honda, Volkswagen, etc
If the user selects volkswagen, then the second box displays golf, GTI, Jetta, etc
Thanks in advance for the help guys. I'm a noob at this stuff but hey, you have to start somewhere right?
Does anyone have a piece of code I can look at that does the following:
Displays a drop down box on a page where the drop down content is grabbed from a mysql database. There is then a second drop down box whos contents depends on the value selected i nthe first box. I'm pretty sure javascript would be used for this. The final values are then sent over to another page.
As an example lets say you have a car site. In the first box would be the make of the car eg: Honda, Volkswagen, etc
If the user selects volkswagen, then the second box displays golf, GTI, Jetta, etc
Thanks in advance for the help guys. I'm a noob at this stuff but hey, you have to start somewhere right?