如何将国家/地区从json Web服务器加载到javascript下拉列表?

lmvvr0a8  于 2021-09-23  发布在  Java
关注(0)|答案(0)|浏览(170)

我的Web服务器链接:https://pay.ijhs.in/dbrix/wrequest?requesttype=gar
从我的Web服务器返回json数据,如下所示:

{
     "C_Country":[{"C_Country_ID":1,"Name":"countryname"},
                  {"C_Country_ID":2,"Name":"countryname"},
                 ],
"C_Region":[{"C_Region_ID":1,"C_Country_ID":1,"Name":"statename"},
                  {"C_Region_ID":2,"C_Country_ID":1,"Name":"statename"},
                  {"C_Region_ID":3,"C_Country_ID":2,"Name":"statename"},
                  {"C_Region_ID":4,"C_Country_ID":2,"Name":"statename"},
                 ],
    "C_City":[{"C_Region_ID":1,"C_City_ID":1,"Name":"statename"},
                  {"C_Region_ID":2,"C_City":1,"Name":"statename"},
                  {"C_Region_ID":3,"C_City":2,"Name":"statename"},
                  {"C_Region_ID":4,"C_City":2,"Name":"statename"},
                 ],

    }

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题