Bootstrap 5 Datepicker Code Example


Example 1: bootstrap 5 datepicker example

<div class="input-append date" id="dp3" data-date="12-02-2012" data-date-format="dd-mm-yyyy">  <input class="span2" size="16" type="text" value="12-02-2012">  <span class="add-on"><i class="icon-th"></i></span></div>

Example 2: date picker for bootstrap 4

<input class="datepicker" data-date-format="mm/dd/yyyy">

Example 3: date picker for bootstrap 4

$('.datepicker').datepicker({     format: 'mm/dd/yyyy',     startDate: '-3d' });

Example 4: bootstrap datepicker

<div class="container">    <div class="row">       <div class='col-sm-6'>          <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 glyphicon-calendar"></span>                </span>             </div>          </div>       </div>       <script type="text/javascript">          $(function () {              $('#datetimepicker1').datetimepicker();          });       </script>    </div> </div>

Comments

Popular posts from this blog

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?