Snapshot of fengyuanchen/distpicker: 1.6k★, JavaScript. ⚠️ [Deprecated] No longer maintained. A simple jQuery plugin for picking provinces, cities and districts of China. (中国 / 省市区 / 三级联动 / 地址选择器)
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Defines the initial value of province <select>. If it is a valid province, it will be selected. If not, it will be used as a placeholder.
city
Type: String
Default: —— 市 ——
Defines the initial value of city <select>. If it is a valid city under the selected province, it will be selected. If not, it will be used as a placeholder.
district
Type: String
Default: —— 区 ——
Defines the initial value of district <select>. If it is a valid district under the selected city, it will be selected. If not, it will be used as a placeholder.
⬆ back to top
Methods
getDistricts([districtCode])
districtCode (optional):
Type: Number
The district code of target country, province or city.
fengyuanchen/distpicker has 1.6k GitHub stars — refresh the page for the live number, or check github.com/fengyuanchen/distpicker. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is fengyuanchen/distpicker open source?
Yes — fengyuanchen/distpicker ships under the MIT license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/fengyuanchen/distpicker.
What is fengyuanchen/distpicker?
fengyuanchen/distpicker (fengyuanchen/distpicker) is a JavaScript project on GitHub. From the project's own README: ⚠️ [Deprecated] No longer maintained. A simple jQuery plugin for picking provinces, cities and districts of China. (中国 / 省市区 / 三级联动 / 地址选择器)
Where can I see fengyuanchen/distpicker in action?
The project maintains a homepage at https://fengyuanchen.github.io/distpicker/. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about fengyuanchen/distpicker?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/fengyuanchen/distpicker is the definitive source.
Read full README in the tab above.
Want a second opinion on distpicker?
Ask an AI that can read this page — one click and you get its take on distpicker.