Bootstrap Datepicker with multiple months

喜欢而已 提交于 2019-11-30 02:57:34

问题


Is there any bootstrap datepicker available that supports displaying multiple months? There is an option in jquery-ui datepicker: numberOfMonths.

I need something like this: http://jqueryui.com/resources/demos/datepicker/multiple-calendars.html


回答1:


two months in a single view

<script>
    $( function() {
        $( "#datepicker" ).datepicker({
            numberOfMonths: 2
        });
    } );
</script>

<p>Date: <input type="text" id="datepicker"></p>



回答2:


There so many boostrap jquery plugins are available

try this one

http://bootstrap-datepicker.readthedocs.org/en/release/options.html#multidate



来源:https://stackoverflow.com/questions/21507771/bootstrap-datepicker-with-multiple-months

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!