[英]How to show multiple months in bootstrap-datepicker
How to show two months in a single view of bootstrap-datepicker. 如何在bootstrap-datepicker的单个视图中显示两个月。 Please find the sample code from the following link.
请从以下链接中找到示例代码。
$("#datepicker").datepicker();
Please take a look to the following links : 请查看以下链接:
https://github.com/dangrossman/bootstrap-daterangepicker https://github.com/dangrossman/bootstrap-daterangepicker
http://www.codestore.net/store.nsf/unid/BLOG-20130906-0309 http://www.codestore.net/store.nsf/unid/BLOG-20130906-0309
hope this is helps 希望这会有所帮助
This will show two months in a single view : 这将在一个视图中显示两个月:
<script>
$( function() {
$( "#datepicker" ).datepicker({
numberOfMonths: 2
});
} );
</script>
<p>Date: <input type="text" id="datepicker"></p>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.