Skip to main content

Questions tagged [jquery-ui-datepicker]

A datepicker widget from jQuery-ui which allows the user to select a date from a popup or inline calendar

jquery-ui-datepicker
0 votes
1 answer
37 views

How do I add blocked dates like holidays to datepicker? [duplicate]

I need help in disabling specific dates on the jquery datepicker. I have successfully blocked out Sundays but I don't know how I could add blocked dates to the calendar. I looked through the existing ...
Kenny's user avatar
  • 1
0 votes
0 answers
9 views

jQuery datepicker disable Mondays except 2 specific Monday every year

I have a jQuery datepicker that has Mondays Disabled but I am trying to figure out how can I unable a couple of Monday in December var unableDates = ["4-12-2023", "11-12-2023", &...
user2839729's user avatar
0 votes
0 answers
34 views

How to replace date picker in ckan?

I’m currently working with ckan 2.10 and also I install ckanext-scheming extension. When we add a metadata field with date preset, it shows a date picker which is not a part of scheming extension and ...
nima's user avatar
  • 41
0 votes
0 answers
35 views

jQuery 2 sets of datepicker conflict

I have two sets of jQuery datepickers. One that loads on the page for desktop, the other in a modal for mobile. The first instance with two dates (Arrival Date & Departing Date) works as intended. ...
Deirdre Nic's user avatar
0 votes
0 answers
37 views

Duplicate Datepickers Issue with Custom jQuery UI Datepicker

I'm working on a WordPress website, and I have a specific page with a custom element implemented in PHP. I'm using jQuery UI's datepicker for this input field. Here's my code: (function($){ $(...
liz14's user avatar
  • 188
1 vote
1 answer
190 views

jQuery datepicker month select box opens and closes immediately inside Bootstrap modal

I've encountered a conflict between Bootstrap's modal and jQuery UI datepicker where I can't use the month select box because something closes it immediately after being open. Steps to reproduce: ...
CIRCLE's user avatar
  • 4,799
0 votes
0 answers
35 views

Setting request_locale change format variable Date in Struts 2 [duplicate]

I have a web app with Struts 2.5.30 and struts2-jquery-plugin 4.0.3 , I'm using datepicker with displayFormat="dd/mm/yy" and when user change language with a click on flag image the param ...
Giuseppe Coniglio's user avatar
0 votes
0 answers
21 views

Extract Enabled/Disabled dates from jQuery datepicker object on live website using Chrome console

I have a website that's showing a simple jQuery date picker - https://jqueryui.com/datepicker/ Currently, it shows the dates, some of them are ENABLED and some are DISABLED. Is there a way to write a ...
Amit Baswa's user avatar
1 vote
1 answer
43 views

Jquery datepicker fixed maxrange 365 days between 2 inputs

I have 2 jQuery datepicker inputs And I set default settings on like this: $("#polis_date_from").datepicker({ uiLibrary: "bootstrap4", changeYear: true, changeMonth: true, dateFormat: "yy....
ad0rfin's user avatar
  • 13
0 votes
1 answer
80 views

How to automatically close a Calendar Icon when mouse click or focus out from specific content?

I have calendar attached to the date of birth field when I click on the calendar icon it opens as I need to add the DOB ( Date of Birth ) but for closing the dialogue box I need to click on the close ...
Fahad Ashiq's user avatar
1 vote
0 answers
374 views

How to change the subtotal and total based on the calculation of pickup and delivery date on checkout?

I need help with a wp date picker. The thing that I want is - customers on the checkout page can choose the pickup and delivery date. After choosing the date, the in-cart summary shows the calculation ...
gobby's user avatar
  • 13
1 vote
1 answer
402 views

How to retrieve WPML current language code to use the correct date format in jQuery Datepicker?

I have this hotel wordpress site using WPML to handle the internationalization. The model I use is each language has its language folder: mysite.com/en/, mysite.com/de/, etc All is working properly. ...
Greg's user avatar
  • 354
0 votes
1 answer
35 views

Datepicker: Disable second + fourth week?

I have my days of the week picked out and it works fine, but am unsure of how to implement disabling the second and fourth week. Looked at some other solutions, but it's disabling my datepicker. $('#...
Jon Danyeur's user avatar
0 votes
1 answer
72 views

Any way to make lastVal work for a jQuery UI datepicker that is displayed inline?

As I mentioned above, I'm displaying a jQuery datepicker inline and can't get lastVal working. For further illustration I've edited a jQuery datepicker with working lastVal to displaying inline and ...
csabinho's user avatar
  • 1,611
1 vote
0 answers
105 views

JQuery Month & Year Picker with Custom Text in Dropdown or Last Selected Month & Year

I have a JQuery Month and Year picker and I'm trying to make the dropdowns of the month and year display a generic text or display the last selected month and year values. Right now it displays the ...
RMT's user avatar
  • 125

15 30 50 per page