简体   繁体   中英

Datetimepicker in two steps

In the bootstrap datetimepicker when I select the day, then I can choose the hour and then the minutes.

Is there any way that I can choose the day and then the hour with all minutes directly, in two steps.

Thanks!

<br/>
<!-- padding for jsfiddle -->
<div class="row">
  <div class="col-md-12">
    <h6>datetimepicker1</h6>

    <div class="form-group">
      <div class="input-group date" id="datetimepicker1">
        <input type="text" class="form-control" /> <span class="input-group-addon"><span class="glyphicon-calendar glyphicon"></span></span>
      </div>
    </div>
  </div>
</div>

JS

$('#datetimepicker1').datetimepicker();

Fiddle

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM