Skip to main content

All Questions

0 votes
2 answers
492 views

Hide an element depending on the time of the CURRENT DAY

I am using ui-datepicker calender from jquery, and i am trying to hide an element, option:nth-child(2), of the following options only on the current day before 10am: <select name="...
jamey's user avatar
  • 1
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
0 votes
0 answers
60 views

JQuery Date picker Change components

Hi I am using this jquery datepicker. Till now it is fine. Now my problem is by default a dropdown control is used to select years, months. I want to change them to Input type number. How to do ...
CharanbabuKarnam'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
1 vote
4 answers
5k views

jQuery DateTimePicker Convert date

Currently i'm playing around with some jQuery and don't really seems like it works like I would like to. I got the following code, and I would like it to convert the from to a new date format. It's ...
Nature's user avatar
  • 51
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
-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
1 vote
0 answers
615 views

How do i limit time to one hour in datetimepicker?

I have the following JavaScript code that uses of a StartDate & EndDate field. What this code does is to restrict the dates on the EndDate field to the day you have chosen in the StartDate field. ...
Wizeman1986'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