Skip to main content

All Questions

0 votes
0 answers
19 views

Sending value selected to backend (or $.Ajax()) different of showed at frontend [duplicate]

i am using the lib https://jqueryui.com/datepicker/ I would like found the proprierty that send the value selected to Backend with american format. Exemple: JS <script src="https://code.jquery....
Carlos Rocha's user avatar
0 votes
1 answer
39 views

Disabling specific years in datepicker

I'd like to disable some specific years in https://api.jqueryui.com/datepicker/. With "disable" I mean they should not appear in the year drop-down (I'm using changeYear: true) and ideally ...
Jellby's user avatar
  • 2,704
0 votes
0 answers
52 views

Jquery datepicker does not work on a newly opened blank window

I tried apply jquery datepicker on a newly opened blank window (opened with window.open). <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> ...
Csirmaz Kalman's user avatar
1 vote
1 answer
54 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
1 vote
1 answer
690 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
1 vote
0 answers
116 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
  • 135
0 votes
1 answer
292 views

How to alert user of date selection criteria?

I have seen this question being asked here: Alert User When Selecting Disabled Date Unfortunately, there is nothing to glean from the answers provided. We have a requirement to prevent users from ...
Tairoc's user avatar
  • 659
1 vote
1 answer
75 views

How to modify URL when changing month by clicking on the next/before month arrows using bootstrap datepicker

I have a Bootstrap Datepicker and I'm trying to be able to modify the url by clicking on the next month arrow or month before arrow. Datepicker example When I pick some day on the calendar, the URL ...
André Tex's user avatar
-1 votes
2 answers
363 views

Сounting the number of working days without taking into account holidays and weekends in jQuery UI Datepicker

I use jQuery UI DatePicker and was able to disable weekends and holidays there (custom list). Now I need to count the number of working days in a month without taking into account the days off before ...
Vito's user avatar
  • 1
0 votes
0 answers
47 views

Jquery DatePicker - Show the date outside of the minDate - in the Input Box

I am having a jquery datepicker which shows the day the task has been created and the day till which the task is available - Period From and Period To. The problem is when I go to modify the task - ...
SAM SAMULE's user avatar
0 votes
2 answers
257 views

I have an unknown problem with datepicker

var form = document.createElement("div"); form.innerHTML = "<input type='text' id='Test'>"; swal({ content: form, closeOnEsc: false, closeOnClickOutside: false, }); $...
Aliakbarian's user avatar
0 votes
2 answers
216 views

jquery datepicker insert dayid to all days within <td> attribute

I need to add dayid to all <td> for example: <td class=" " data-year="2022" data-month="8" data-event="click" data-handler="selectDay"> &...
js newbie's user avatar
0 votes
1 answer
683 views

jQuery UI datepicker onSelect NOT working

I have From Date and To Date jQuery datepicker controls and if I change From Date, then To Date should automatically be 180 days from From Date Below code is not firing the onSelect event even if this ...
CPK_2011's user avatar
  • 1,170
1 vote
0 answers
55 views

Undisable disabled days in jQuery datepicker

I want to un-disable dates in the datepicker, I tried to empty the array of the disabled days, but they are still disabled when I open the datepicker. Here is my code to disable the days in the ...
Eli-ott's user avatar
  • 376
0 votes
1 answer
154 views

Only allow the last friday in month date picker don´t work for me

I want to enable only the last Friday in each month in my datepicker. In another example I found a code-snippet but it doesn't work for me. Maybe my picker uses other attribute names? How I can do ...
Chris's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
49