Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make and Model dropdowns, database driven

Status
Not open for further replies.

daddio2005

Programmer
Dec 5, 2005
11
GB
Have a database table of makes: Rover, Nissan etc

and a database table of car models with the make ID assosciated.

Will have a dropdown for makes based on the makes table, database driven.

Then when a selection is made for the make, i need the model dropdown to appear and populate itself based on the make selected. I can do this easily with ASP but requires that the page is refreshed.

How can I do this without having to refresh the page. Presumably using some kind of multi dimensional array.

The problem is that it needs to be future proof for when additional makes and models are added to the database so I will need to create the javascript on the fly to accomodate and unlimited number of makes.

Any suggestions would be much appreciated.

Thanks.
 
I also would like to know if it is possible for JS to mine a .DBF file client side. I could not find anything in JS FAQs, nor did a search come up with any answers.

Could you point me in the right direction, or tell me what keywords will get me there?




mmerlinn

"Political correctness is the BADGE of a COWARD!"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top