0

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

Pouya
  • 1,908
  • 17
  • 56
  • 78

2 Answers2

1

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

J. Ed
  • 6,692
  • 4
  • 39
  • 55
1

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

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798