開源項目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