如何使用webservice获取与下拉列表相关的城市? [英] How to get cities related to countries in dropdown using webservice?

查看:86
本文介绍了如何使用webservice获取与下拉列表相关的城市?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个下拉名称country和city.i想要使用wedservice.if选择一个国家被选中相应的城市将列出。下拉列表应该是html.so我有2个问题.1.how用html创建下拉列表在asp.net.2.how使用webservice填写下拉国家和城市

i have two dropdown name country and city.i want to fill that using wedservice.if one country is selected corresponding city will list.the dropdown should be html.so i have 2 question .1.how to create dropdown with html in asp.net.2.how to fill dropdown with country and city using webservice

推荐答案

检查这些链接。



http://stackoverflow.com/questions/20315923/dynamically- replace-drop-down-menu-options-jquery [ ^ ]



使用jQuery AJAX在ASP.NET中绑定下拉列表 [ ^ ]
check these links.

http://stackoverflow.com/questions/20315923/dynamically-replace-drop-down-menu-options-jquery[^]

Bind Dropdownlist in ASP.NET using jQuery AJAX[^]


这篇关于如何使用webservice获取与下拉列表相关的城市?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆