daddio2005
Programmer
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.
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.