ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
## 时间选择 参考文档: [http://weareoutman.github.io/clockpicker/](http://weareoutman.github.io/clockpicker/) [TOC] ![](https://box.kancloud.cn/e242105f82e509e2546b71a251ec9b63_313x358.png) ## 使用 ``` <div class="input-group clockpicker"> <input type="text" class="form-control" value="09:30"> <span class="input-group-addon"> <span class="glyphicon glyphicon-time"></span> </span> </div> <script type="text/javascript"> require(['hdjs'], function (hdjs) { hdjs.clockpicker('.clockpicker',{ afterDone: function() { console.log("after hide times is "+$('.clockpicker input').val()); } }); }); </script> ```