问题
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