Provincial and Municipal counties and cities of the town cascade data JS version

Source: Internet
Author: User

The website development often involves the registration, the registration usually will have the district Cascade request. as shown below. To do this, you have to have data support. Yesterday, a day of hard work, from the Internet to tinker with a copy of the data. Share next. Pure technical sharing, non-profit. If there is infringement of the place please notify, immediately delete.

I don't know how to upload the attachment, I put the link directly

1. Data of provinces and cities (15k)

Address: Http://

1. Data of provinces and cities (172k)

Address: Http://

2. Data of provinces, cities and counties (1545k)

Address: Http://

The following data are organized into separate files for easy combination use

3, Province (1k)

Address: Http://

4. City (14k)

Address: Http://

5, county (159k)

Address: Http://

6. Township data (1373k)

Address: Http://

When the level to the township when the data is very large, there are more than 1m, you should not put the JS file load in one time, this will slow down the load times of the page, the use of sub-load is better. For example, loading the procitycountry.js first, loading the page after loading the town.js, of course, this is only a preliminary optimization, but also to optimize more. The above is only a reference to the opinion, you use the case.


Provincial and Municipal counties and cities of the town cascade data JS version

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.