Dependent Selects

This example shows how to utilize the CarQuery API to produce dependent HTML select elements for year make and model.

Selecting a year will populate the make “Make” select with all manufacturers that produced a car in that year. Selecting a make will populate the “Model” select with all models produced by that manufacturer in that year.

Selecting the “Show Only US Models” option will filter the drop down menus to show only models that were sold in the USA. This is optional, and does not need to be included in the page.

For instructions on using this functionality in your site please see the Documentation section.

Year: Make: Model: