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 dropDownlistAnswer1:
Look at <a href="https://stackoverflow.com/a/6499309/315935" rel="nofollow">the answer</a> and <a href="https://stackoverflow.com/a/4480184/315935" rel="nofollow">another one</a>. I think it's what you need.Answer2:
use the countries' dropdown <a href="http://api.jquery.com/change/" rel="nofollow">change()</a> event to capture the event of changing a country.<br /> then, initialize your cities' dropdown to whatever is appropriate.