bootstrap三级城市级联地区

发布时间:2019-05-09作者:豆子点击:196

bootstrap三级城市级联,

需要引入的文件:



         <script src="js/city-picker.data.js"></script> 
     <script src="js/city-picker.js"></script> 



     <link href="css/city-picker.css" rel="stylesheet" type="text/css" />

html 页面



		<div id="distpicker">

		  <div class="form-group">

		    <div style="position: relative;">

		      <input id="city-picker3" class="form-control" readonly type="text" value="江苏省/常州市/溧阳市" data-toggle="city-picker">

		    </div>

		   </div>


 控件下载 插件下载地址:https://github.com/Nemo0000/MyProject

第二种方法:
   下载:https://github.com/fengyuanchen/distpicker
   样式:http://fengyuanchen.github.io/distpicker/

 

标签:bootstrap