Twitter Bootstrap日期选择器 [英] Twitter Bootstrap date picker
本文介绍了Twitter Bootstrap日期选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用Twitter Bootstrap日期选择器?我使用下面的代码,但它不起作用。
How can I use the Twitter Bootstrap date picker? I used the code below but its not working.
<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风格不兼容。
Twitter Bootstrap is incompatible with jQuery UI styles at the moment.
https://github.com/twitter/bootstrap/问题/ 156
这可能有助于您 https:// github。 com / sferik / rails_admin ( http://rails-admin-tb.herokuapp.com/ admin / drafts / new )
这篇关于Twitter Bootstrap日期选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文