加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

twitter-bootstrap – Twitter Bootstrap日期选择器

发布时间:2020-12-17 23:53:15 所属栏目:安全 来源:网络整理
导读:如何使用Twitter Bootstrap日期选择器?我使用下面的代码,但它不工作。 html head titleDatePicker Demo/title script src="js/jquery-1.7.1.js"/script link href="css/datepicker.less" rel="stylesheet" type="text/css" / link href="css/bootstrap.css
如何使用Twitter Bootstrap日期选择器?我使用下面的代码,但它不工作。
<html>
    <head>
    <title>DatePicker Demo</title>
    <script src="js/jquery-1.7.1.js"></script>
    <link href="css/datepicker.less" rel="stylesheet" type="text/css" />
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css" />
    <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <script src="js/bootstrap-datepicker.js"></script>

    </script>
    </head>
    <body>
    <form >
        <div class="input">
            <input class="small" type="text" value="01/05/2011" data-datepicker="datepicker">
        </div>
    </form>

    </body>
</html>

解决方法

Twitter Bootstrap目前与jQuery UI样式不兼容。

https://github.com/twitter/bootstrap/issues/156

这可能会帮助你https://github.com/sferik/rails_admin(http://rails-admin-tb.herokuapp.com/admin/drafts/new)

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读