I use this datetimepicker: http://eonasdan.github.io/bootstrap-datetimepicker/Options/ Basically I want to set maxDate: moment(), i.e maxDate should be limited to now. The problem is by the time the datepicker is opened maxDate is not now() anymore....
My code looks like this:    // TIME   $('#timepicker').datetimepicker({     minDate: minTime,   })      .on('dp.show', function(e){     console.log(selectedDate);     if($(this).val()==""){       $(this).val(minTime.format(...
My html code like this :   <div class="container">     <div class="row">         <div class='col-sm-6'>             <div class="form-group">                 <input type='text' class=&...
I am using the Bootstrap datatimepicker (https://eonasdan.github.io/bootstrap-datetimepicker/). It's great but it does not show or let the user select seconds.   $(document).ready(function () {     $('#datetimepicker1').datetimepicker({de...
I'm using eonasdan's bootstrap datetimepicker plugin for my website. My website is running in ASP.NET MVC 5, it has jQuery 1.10.2, bootstrap 3.3.6, requirejs and several other plugins. The problem I'm having is that the datetimepicker is...
I am using the Bootstrap datatimepicker (https://eonasdan.github.io/bootstrap-datetimepicker/). I'd like to disable the datetimepicker on page load.   $(document).ready(function () {     $('#datetimepicker1').datetimepicker({         defa...
I am using Bootsrap 3 (eonasdan-datetimepicker) Datetime Picker. I am wondering how can i prevent user to select past time. I find the documentation doesn't say much about how to disable past time....
Using DateTimepicker I want to set store opening time as 10:30 AM (for example) for the whole week. Using this piece of code I could able to restrict hours.   var curentDate = new Date(); var lastDate = new Date(); lastDate.setDate(curentDate.getDate...
I am trying to use the bootstrap-datetimepicker to allow the users to select date and time value using an easy tool.  I created two pickers using bootstrap-datetimepicker and linked them together like so  //From Picker $('#ActionForm_LocalFrom...
Is there a way to add hour/minute label to eonasdan's bootstrap datetimepicker like shown in the screenshot?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.