码迷,mamicode.com
首页 > Web开发 > 详细

js 三级联动

时间:2017-10-17 16:31:38      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:bsp   target   styles   UI   init   script   utf-8   picker   col   

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>:jQuery省市区三级联动插件city-picker</title>
    <base target="_blank" />
    <!--必要样式-->
    <link href="http://hovertree.com/ziyuan/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="http://hovertree.com/texiao/bootstrap/4/css/city-picker.css" rel="stylesheet" type="text/css" />
</head>
<body>


    <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>
        <div class="form-group">
            <button class="btn btn-warning" id="reset" type="button">重置</button>
            <button class="btn btn-danger" id="destroy" type="button">确定</button>
        </div>
    </div>


    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script src="http://hovertree.com/texiao/bootstrap/4/js/city-picker.data.js"></script>
    <script src="http://hovertree.com/texiao/bootstrap/4/js/city-picker.js"></script>
    <script src="http://hovertree.com/texiao/bootstrap/4/js/main.js"></script>
</body>
</html>

 

js 三级联动

标签:bsp   target   styles   UI   init   script   utf-8   picker   col   

原文地址:http://www.cnblogs.com/ideacore/p/7682156.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!