Skip to main content

All Questions

0 votes
2 answers
477 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
1 vote
0 answers
3k views

Date Picker not working on bootstrap 4 webpage

Datepicker and timepicker are not working along with jquery-3.2.1.slim.min.js popper.min.js and while removing it modal and bootstrap carousel are not working How to resolve this issue? Header files ...
Preetish Priyadarshi'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
58 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
  • 9,901
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
0 votes
0 answers
268 views

Select NULL date using jQueryUI datepicker

I am using the jQueryUI datepicker along with the datetime addon (http://trentrichardson.com/examples/timepicker/#basic_examples). I am using an icon to trigger opening up the calender instead of an ...
user1032531's user avatar
  • 25.9k
0 votes
0 answers
5k views

How to add date and time picker in a JSP page

I need to add date and time picker to my JSP page, using the below code, I am able to get the date picker. Could anyone help me out with the date and time picker in JSP. <%@ page language="java" ...
Kalpana's user avatar
  • 501
7 votes
3 answers
20k 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,366
-1 votes
1 answer
115 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
  • 25.9k
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.2k
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
3 votes
0 answers
1k views

Datepicker not working inside jquery dialogbox

I have implemented datepicker inside jquery dialog box and i when i click outside dialogbox the calender disappears and it does not appear back when i click inside my datepicker textbox. this is ...
Always_a_learner's user avatar

15 30 50 per page