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

2019-09-14 19:09发布

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

2条回答
\"骚年 ilove
2楼-- · 2019-09-14 19:31

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

查看更多
\"骚年 ilove
3楼-- · 2019-09-14 19:42

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

查看更多
登录 后发表回答