从上一个下拉菜单中选择值时,选择第二个下拉菜单值 [英] select second drop down menu values on the selection of a value from previous drop down menu

查看:88
本文介绍了从上一个下拉菜单中选择值时,选择第二个下拉菜单值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



请帮我根据两个不同的下拉菜单在mysql中插入数据。

当我们在第一个下拉菜单中选择值时,第二个产生它的值 -

如...

如果我们选择类别字母表,那么我想显示所有下一级菜单中的字母自动选择。

Dear all,

Please help me to insert the data in mysql on the basis of two different drop down menu.
The second one generates its value, when we select the value in first drop down menu-
like...
if we select category alphabet, then I want to show all the alphabets in next menu to be selected automatically.

推荐答案

请尝试以下链接获取解决方案



http://webtekspace.blogspot.in/2012/11/fill-dropdownlist-from- another.html [ ^ ]



谢谢
Please try the following link for your solution

http://webtekspace.blogspot.in/2012/11/fill-dropdownlist-from-another.html[^]

Thanks


为第一个下拉列表写下选定的索引更改事件





在这种情况下你可以编写一个方法来获取数据第一个下拉列表值。





例如,





如果您选择国家/地区,请在国家/地区下拉列表中根据国家/地区获取所选值。
write selected index change event for first drop down list


In this event u can write a method to fetch data as according to the 1st drop down list value.


example,


IF you select country get that selected value in country drop down list load states as according to the country.


这篇关于从上一个下拉菜单中选择值时,选择第二个下拉菜单值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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