小编use*_*281的帖子

Bootstrap datepicker index.html的具体示例

我一定是个白痴.我一直试图让bootstrap datepicker工作几个小时失败.我需要在index.html中编写什么来建立一个简单的datepicker?

<html>
<head><title>A concrete example I will upload to github for future people</title>

<!-- What exactly do I need to include here? There's /js/bootstrap-datepicker.js -->

</head>
<body>

Datepicker:
<!-- The documentation says <input type="text" type="text" class="form-control"> -->

</body></html>
Run Code Online (Sandbox Code Playgroud)

脚步

  1. 创建node.js服务器并将github克隆到'public'文件夹中
  2. cd到datepicker文件夹和npm install.确保安装了grunt-cli.
  3. 使用Stack Overflow上的英雄慷慨提供的代码创建index.html文件,我们非常感谢.

jquery datepicker twitter-bootstrap

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

datepicker ×1

jquery ×1

twitter-bootstrap ×1