Answers for "datetimepicker js"

1

set datetimepicker javascript

// when start datetimepicker change -> will effect end datetimepicker change too
$('#membership_start').on('dp.change', function(e){
  $('#membership_end').data("DateTimePicker").date(e.date);
});
Posted by: Guest on November-06-2020
1

datetimepicker jquery

############### JS ##############  
1. npm i jquery-datetimepicker

2. Include inside js file

import "jquery-datetimepicker";

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

############## CSS ###################

3. Include inside css/scss file

@import "jquery-datetimepicker/build/jquery.datetimepicker.min.css";
Posted by: Guest on November-08-2020
0

bootstrap datetime picker

<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>
Posted by: Guest on April-29-2020
0

bootstrap datetime picker

<div class="container">
    <div class="row">
        <div class='col-sm-6'>
            <div class="form-group">
                <div class='input-group date' id='datetimepicker2'>
                    <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 () {
                $('#datetimepicker2').datetimepicker({
                    locale: 'ru'
                });
            });
        </script>
    </div>
</div>
Posted by: Guest on April-29-2020
0

start day picker and end date picker in php

<div class="em-date-range">From
 <input class="em-date-input-loc em-date-start" type="text" name="ticket_start_pub" />
 <input class="em-date-input" type="hidden" name="ticket_start" />
 to
 <input class="em-date-input-loc em-date-end" type="text" name="ticket_end_pub" />
 <input class="em-date-input" type="hidden" name="ticket_end" /></div>
Posted by: Guest on September-26-2020

Browse Popular Code Answers by Language