1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Linking Three Dropdowns

Thursday July 9, 2009
Dynamically update dropdown lists based on other dropdowns using JavaScript

Updating a second dropdown's content based on a user selection in a first dropdown is a common requirement. Of course having figured out how to do that everyone then wants to know how to extend that functionality to update a third dropdown based on the selection in the second one. Here's how to amend the code from my dynamic dropdown script to add a third dropdown. The same principal can of course then be applied in order to add even more dropdowns if required.

Linking Three Dropdowns
Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss
Community Forum
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.