How can we fill a drop down list to cascade in jqgrid

☆樱花仙子☆ 提交于 2019-12-25 00:05:32

问题


How can we fill a drop down list to cascade in jqgrid??? example

I have a drop down list of countries and a drop down list of cities. How can to Select a country in DropDownList Country Fill Only the cities in the City dropDownlist


回答1:


Look at the answer and another one. I think it's what you need.




回答2:


use the countries' dropdown change() event to capture the event of changing a country.
then, initialize your cities' dropdown to whatever is appropriate.



来源:https://stackoverflow.com/questions/9015513/how-can-we-fill-a-drop-down-list-to-cascade-in-jqgrid

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!