title: How to represent 2 parent child drop down in javascript?
body: <p>I have 2 drop down lists, when the user selects dropdown#1 then I need to update dropdown#2 with options that are relevant for the dropdown#1 selection.</p>
  
  <p>e.g.</p>
  
  <p>Dropdown#1 has car manufacturers:  ford, toyota, honda</p>
  
  <p>Dropdown#2 will be cars for that specific manufacturer.</p>
  
  <p>How should I go about storing this data in javascript?</p>
  
  <p>I was hoping I could create a collection like some sort of dictionary or hash so I can populate each drop down easily.</p>
  
  <p>I have the actual data from the database, then on the server-side I will create the JavaScript  I need to create this data structure.</p>