是否有一个集中的国家名称列表,可用于网页下拉框(和验证) [英] Is there a centralized list of country names that can be used for web drop down boxes (and validation)

查看:78
本文介绍了是否有一个集中的国家名称列表,可用于网页下拉框(和验证)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

网上有一些例子,网页选择框有很多国家的列表,可能足以让我使用。然而,根据墨菲的法律,肯定会有一些随机的国家,某人来自并且不在我的名单上(可能有人也遇到过这种情况,并且已经更新了他们的本地名单)。另外,当新国家加入时,我不会知道它。

基本上,如果有一些国家的集中清单,我认为这是更好的做法和更好的气味我可以使用/信任的名称。 (也可以设置/遵循标准的准确命名United St ...与USA等)。

我宁愿选择不是IIS的解决方案如果可能的话具体说明

解决方案

有许多国家列表,请查看维基百科文章;在那里你可以找到一些列表,如:





更多...


There are examples online with web select boxes that have a huge list of countries and that probably will be good enough for me to use. However, by Murphy's law, there's bound to be some random country that someone is from and isn't on my list (and probably someone else also ran into this and has updated their local list). Also, when new countries are added, I won't know about it.

Basically, I feel it's better practice and a better smell if there is some centralized list of country names that I can use / trust. (also it could set/follow standards for exact namings "United St..." vs "USA" etc.)

I would prefer a solution that isn't IIS specific if possible

解决方案

There are many list of countries, check this wikipedia article; there you can find some lists like:

And more...

这篇关于是否有一个集中的国家名称列表,可用于网页下拉框(和验证)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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