开发者

jQuery: Load data on a combo box depending on another

开发者 https://www.devze.com 2023-01-19 01:27 出处:网络
I have two combo boxes. Let\'s say the first one had valu开发者_开发问答es A, B, C And when I select A the second one should show me options 1, 2, and 3

I have two combo boxes.

Let's say the first one had valu开发者_开发问答es A, B, C

And when I select A the second one should show me options 1, 2, and 3

If I select B, then the second one should have the options 4, 5, and 6

and C should make the second combo box have the options 96, 98, 100.

Is there a way to do this via jQuery?? Thank you very much!


http://www.ajaxray.com/blog/2007/11/08/jquery-controlled-dependent-or-cascading-select-list-2/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号