> 
> **Possible Duplicate:**  
> 
> [Use jquery to change second select list based on first select list option](https://stackoverflow.com/questions/10570904/use-jquery-to-change-second-select-list-based-on-first-select-list-option) 
> 
> 
> 

I've got two select elements in my code. One for states (#us\_state) and second for cities (#city\_name). When I choose a "state" the second select element must contain only that cities which exists in selected state.