All Questions
88 questions
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($){
$(...
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 ...
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
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,
});
$...
1
vote
1
answer
73
views
How can I configure jquery-ui datepicker to enable for selection only the last friday of each month?
obviously I dont know much about JS so I try best to run the datepicker. In our picker, we wanted only be able to pick every last Friday of the month. I've already written the code for this and it ...
0
votes
1
answer
64
views
how do I enable all options when user selects a date that is not the current date?
I am trying to get the datepicker to work with the select options, so if the user selects a date that's not the current date, then the function will not be called so the user can select any time they ...
-1
votes
2
answers
770
views
How to disable past days and weekends in Jquery
Does anybody know why this Script not working? I am trying to disable weekends and previous dates? I have tried searching all over the web but I am struggling.
<script src="https://cdnjs....
1
vote
3
answers
2k
views
How to contain jQuery datepicker within div?
UPDATES: I tried the suggestions below but they did not work.
I want to contain the calendar within the white div with a dark grey border (class = "profileEdit"), and only have its overflow ...
0
votes
1
answer
857
views
jquery datepicker calendar position is showing off screen
I am using datepicker as below. I have noticed that calendar is opened off screen. when I unzoom the page, I can see it's open at very very bottom of the screen. I have tried z-index but it's not ...
0
votes
1
answer
88
views
JQuery date picker calender not working in Asian and some European cities
When I run jqueryui in London, Mountain View, San Fransico and São Paulo the day figures on the calender are correct. When I run the site in Tokyo, Shanghai, Mumbai, Moscow and Berlin the day figures ...
1
vote
0
answers
109
views
I have added JS function to prevent user to insert invalid date in datepicker. It is working but error alert box is not closed
I am new to JS. I have added JS function to prevent user to insert invalid(like 99/99/0000) date manually in datepicker. I have written all the function and it is working as expected but somehow when ...
3
votes
2
answers
997
views
Html input field not registring on first click
I am having issues with begin date field. the first time that the page loads, if you click on the begin date field the calender is not poping up, however if I click on any other field/label and than ...
2
votes
2
answers
4k
views
How can I do to change the language of a datepicker?
I would like to change the language of a datepicker. Here is my code :
$("#datepicker-month").datepicker({
locale: 'fr',
dateFormat: 'mm-yy',
format: 'yyyy-mm',
viewMode: "months",
...
-2
votes
1
answer
297
views
Broken Delivery Estimate Calculator
I'm hoping someone can help me figure out how to code an app that allows you to select a mailing date with jquery datepicker, select Standard or First-class shipping from a dropdown, and calculate an ...
0
votes
2
answers
5k
views
How to use bootstrap date picker to get correct date format on your application?
I have a small problem i am using Boostrap DatePicker, the problem is the format of the date on input-daterange. eg. 01/08/2020. It should read the following format and to be understood by the user ...