Bootstrap Datepicker with multiple months

2019-02-12 17: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

2条回答
混吃等死
2楼-- · 2019-02-12 17:45

two months in a single view

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

<p>Date: <input type="text" id="datepicker"></p>
查看更多
Emotional °昔
3楼-- · 2019-02-12 17:57

There so many boostrap jquery plugins are available

try this one

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

查看更多
登录 后发表回答