All Questions
Tagged with jquery-ui-datepicker javascript
872 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....
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 ...
0
votes
1
answer
54
views
Displaying a custom woocommerce cart fee based on a custom datepicker field selection
Party Rental Equipment website. Using the JQuery datepicker in 3 woocommerce_form_field, one for Event Date, One for Delivery Date, and one for Pickup Date. I am trying to charge a $440 extra fee if ...
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">
...
0
votes
0
answers
50
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($){
$(...
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....
0
votes
1
answer
157
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 ...
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.
...
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 ...
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 ...
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 ...
-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 ...
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 - ...
0
votes
1
answer
177
views
How to auto increment the year in javascript datepicker when the date reaches end of the year
How to auto increment the year in javascript datepicker when the date reaches end of the year.
My date field displays only maxDate as Current date and yearRange is set to 1900-2022 but it should ...
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,
});
$...