我有一个web应用程序,我有国家的下拉列表,也有州/省/地区的下拉列表。
如果我选择国家,那么它的相关州省地区应该是动态填充的。
人口是件容易的事。
但是,随着国际化的发展,我们应该如何以及在哪里维护这些庞大的数据
step 1 : create data base for country names and related state names
step 2 : make ajax call on select box for country on onchange event
step 3 : the ajax call hits the db and return with the state names
step 4 : set the value for state select box with the received response from ajax call