Home >Web Front-end >JS Tutorial >Download the province, city, district, and region code represented by the first six digits of the ID number_javascript skills

Download the province, city, district, and region code represented by the first six digits of the ID number_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:15:152222browse

In my previous article , I discussed how to verify the legitimacy of the 15- and 18-digit ID numbers and obtain some simple information,
such as: identity, birthday, gender, etc.

Now, you can choose the city and region.

Copy code The code is as follows:



Download (64kb)
Suggestion: The area code is very large, with more than 900 lines and 90Kb size. It is recommended to put them in the database and retrieve them through Ajax
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn