I'm trying to build a custom dropdownlist wich show/hide a second set of dropdowns based on it's selection.
I was wondering if anyone here might be able to help with a solution to this.
You can view my code at http://jsfiddle.net/prodac/stAAm/
I'm trying to build a custom dropdownlist wich show/hide a second set of dropdowns based on it's selection.
I was wondering if anyone here might be able to help with a solution to this.
You can view my code at http://jsfiddle.net/prodac/stAAm/
use the jquery
:selected
a little bit of documentation is here http://api.jquery.com/selected-selector/That works in an option select menu
I am updating your Jfiddle now if you can give me a little more info about what you want done.
Edit
Here is an updated jfiddle with your answer. http://jsfiddle.net/stAAm/7/
and a copy of the code for Stack overflow