有没有APK可以将所有国家,州和城市显示为Angularjs中的下拉列表? [英] Is there any APK to display all countries, states and cities as dropdown in Angularjs?

查看:54
本文介绍了有没有APK可以将所有国家,州和城市显示为Angularjs中的下拉列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将所有国家/地区显示为下拉列表,并根据该国家/地区显示该国家/地区的所有州.同样,所选州的所有城市.

I need to display all countries as a dropdown and based on the country need to display all states of that country. Similarly all cities of the selected state.

有没有可用的APK或外部js文件?

Is there any APK or external js file available for this?

推荐答案

我的代码就像魅力一样工作.

My code is working like charm.

我能够列出所有国家/地区,并根据我正在填充州/省的国家/地区以及根据我正在填充城市的州/省的状态.

I am able to list all the countries and based on countries i am populating states and based on states i am populating cities.

我刚刚在我的html页面中使用了这个js文件< script src ="http://iamrohit.in/lab/js/location.js"></script>

I just used this js file in my html page <script src="http://iamrohit.in/lab/js/location.js"></script>

引荐: http://www.iamrohit.in/城市国家和地区下拉列表/

这篇关于有没有APK可以将所有国家,州和城市显示为Angularjs中的下拉列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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