Skip to main content

All Questions

2 votes
0 answers
1k views

jQuery UI datetimepicker: Disable current time and past times. On Future dates enable all times

I'm having some trouble disabling the current time ex. If date time is 12th December 2018 - 10:00am and All past times Before 10:00am needs to be disabled. However I would like to find a way to then ...
Michael Gauci's user avatar
0 votes
1 answer
1k views

Add day slider to jQuery UI datetimepicker

Referring to the standard examples for the jQuery ui datetimepicker http://trentrichardson.com/examples/timepicker/#slider_examples I am looking for a way to add a day slider in addition to the ...
Jakob Vinther's user avatar
1 vote
1 answer
4k views

Custom separator in jQuery UI datetimepicker add on

I use the datetimepicker add on for the jQuery UI datepicker (which is based on the jQuery UI datepicker) to implement input fields with a calender widget on my webpage. According to the documentation ...
Dirk's user avatar
  • 10.2k
12 votes
2 answers
11k views

how to hide second and millisecond from jquery ui datetimepicker

I use jquery-datetimepicker in this link my simple code like this $(".datetimepicker").datetimepicker(); but the GUI appear like this I want date calender and time by (Hours and Minutes) only ...
Ahmed's user avatar
  • 556
7 votes
3 answers
21k views

jQuery datetimepicker: disable time

I am using the XDSoft jQuery datetimepicker in my app (Ruby on Rails 4 (just for information, not using bootstrap datetimepicker)). I was wondering if there is a way to disable/deactivate a specific ...
user2725109's user avatar
  • 2,386
-1 votes
1 answer
119 views

Formatting date using datetimepicker plugin

I am using the datetimepicker option (http://trentrichardson.com/examples/timepicker/#basic_examples). $('#basic_example_3').datetimepicker({ timeFormat: "hh:mm tt" }); If the user selects no ...
user1032531's user avatar
  • 26.4k
4 votes
2 answers
2k views

How can I load multiple versions of a jQuery plugin on the same page?

I'm trying to use the latest version of the timepicker addon for jQuery UI. Another library already loaded it at an earlier version (1.0.4) but I want to use the latest (1.4.5) version. In the source, ...
cwd's user avatar
  • 54.9k
0 votes
3 answers
950 views

Datetimepicker: How to disable all past dates

I am using Datetimepicker & I don't want the user to select past dates, so how I can disable them like jquery ui datepicker do. Please help
Dheeraj Agrawal's user avatar
1 vote
1 answer
2k views

Disabled Automatic date value changes during Next/Previous actions in jQuery DateTimePicker

I'm working with Trent Richardson's great Datetimepicker plugin for jQuery UI's datepicker. One issue however that I wish to resolve is the fact that when you select a field, and then navigate ...
streetlight's user avatar
  • 5,978
1 vote
1 answer
421 views

Stop Automatic Entry Next / Previous Month Datetimepicker

I'm using Trent Richardson's great Datetimepicker. However, I'm running into a specific issue in which the plugin does not act like the traditional jQuery UI Datepicker. When you start with a blank ...
streetlight's user avatar
  • 5,978
1 vote
2 answers
3k views

jQuery datetimepicker formatting in rails 3.2

I'm using the following datetimepicker which from my understanding is the jquery-ui datepicker that has been extended. http://trentrichardson.com/examples/timepicker/ My issue is I want to display ...
ctilley79's user avatar
  • 2,195
0 votes
1 answer
978 views

jQuery datetimepicker separator - setDate always sets today's date

Have a look at this jQuery datetimepicker example (go to the Examples tab, "Utilities" example). If you try to run the following in your browser's console: $('#utility_example_1').datetimepicker('...
Misha Moroshko's user avatar
0 votes
1 answer
3k views

jQuery datetimepicker addon not working when attached to div rather than input element

I am using the jquery Trent Richardson datetimepicker addon which is working fine when linked to a text input (see link below). http://jsfiddle.net/many_tentacles/xnn3M/1/ However, when I attach it ...
Tom's user avatar
  • 13k
6 votes
2 answers
17k views

JQuery UI - Set minTime on timepicker based on other timepicker value

I'm trying to set the minTime of my End Time timepicker based on what I've selected in the Start Time timepicker. I have this, based on something that works for the regular datepicker, but it's not ...
BeardedGeek's user avatar