在选择框jquery中选择选项和过滤值 [英] Selecting options and filtering values in select box jquery

查看:61
本文介绍了在选择框jquery中选择选项和过滤值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的代码定义当我选择一个选项时,它应该填充下拉列表并过滤值。

我的问题是我在年份选择框中选择一个选项,然后在Make Select中选择一个选项框中,值会自动更改。我怎样才能克服这个问题。

这是我的代码

http:// jsfiddle.net/pW6P6/4/ [ ^ ]

解决方案

工作代码:

http:// jsfiddle.net/pW6P6/10/ [ ^ ]

My Code defines that when I select an option it should populate the drop down and filter values.
My problem is when Im selecting an option in Year select box and then selecting an option in Make Select box , values are automatically changing. How can i overcome from this.
Here is my code
http://jsfiddle.net/pW6P6/4/[^]

解决方案

Working code:
http://jsfiddle.net/pW6P6/10/[^]


这篇关于在选择框jquery中选择选项和过滤值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆