开源项目Dispicker实现了省市区(县)三级联动,
项目地址 https://github.com/fengyuanchen/distpicker
现在已经停更, Latest commit on Dec 14, 2019
CDN地址 https://cdn.bootcss.com/distpicker/2.0.6/distpicker.min.js
可以在node项目使用或JQuery项目使用
npm install distpicker
JQuery CDN https://cdn.bootcss.com/jquery/3.5.0/jquery.min.js
简易使用代码
<!DOCTYPE HTML>
<html>
<head>
<title>SoftwareDesign</title>
<script src="https://cdn.bootcss.com/jquery/3.5.0/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/distpicker/2.0.6/distpicker.min.js"></script>
</head>
<body>
<div data-toggle="distpi