All Questions
79 questions
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 ...
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 ...
0
votes
0
answers
213
views
Change date format in ASP.NET Core application
I want to change the default date format (mm/dd/yyyy) in my ASP.NET Core application. I am using bootstrap date-picker for better user experiences.
But when I change the format to dd/mm/yyyy or dd/mm/...
1
vote
1
answer
846
views
Date Picker Skip a disabled day Javascript
I would like to skip disabled dates.
working: The code can skip the dates that are from the array:
var disabledDates = ["2020-08-07","2020-08-06"] <br />
not working: The ...
1
vote
1
answer
560
views
JavaScript console.log of datepicker and counting difference between two dates doesn't work
I'm struggling to get a console.log of two dates as well as the days between those two days.
This is the JavaScript part:
var startDate;
var endDate;
$(document).ready(function() {
var j = ...
-1
votes
1
answer
710
views
JQuery datepicker default date and multiple datepickers
Im using this datepicker
https://jqueryui.com/datepicker/
I have 2 date fields in the same html form.
I need the first field to load today as default date.
Second one as todays date -7 (1 week ago.)
...
0
votes
2
answers
2k
views
Jquery- How to set the date before today can't be select?
I able to make today date appear at the check-in date, but the problem is the user still be able to choose the date before today date. Is that any solution can allow me to solve his problem? Any ...
1
vote
1
answer
748
views
How to change 2nd Date picker date base on 1st Date picker?
I have two datepickers for start date and end date. Automatically when page load end date is 3 months plus from current date and start date is current date.
So, I want if I change start date in my ...
0
votes
2
answers
26
views
jQuery change format not changing format to stated format
My Code:
/* DATE PICKER */
$('#thedate').datepicker({
dateFormat: 'dd-mm-yy'
});
/* FLOW DIFFERENTIATION */
//<![CDATA[
$(window).load(function() {
$('#thedate').datepicker();
$('#...
0
votes
1
answer
713
views
jQuery datepicker disable all dates per week but one
I want to pick a date, lets say I pick one Monday, i want to only be able to pick only Mondays on the other datepicker and disable all the other dates, in other words I want to pick a interval of 7 ...
0
votes
1
answer
641
views
jquery datepicker defaultdate will not automatically set to next available date when graphical calendar is persistent on a page
The jquery datepicker defaultdate will not automatically set to next available date when the graphical calendar is persistent on a page. the initial date the calendar selects can be a date that i have ...
-1
votes
3
answers
496
views
Change Date Format
I am using the UI DatePicker from jQuery UI as the standalone picker. I have this code:
And I'm using this code for getting a selected date
select: function (selectedDate) {
$("#customer1")....
0
votes
2
answers
549
views
jquery datepicker : Need to enable a few weekends from already disabled weekends
I have a code where by I have disabled a few dates and all the weekends in the jQuery datepicker. Now there is a requirement that I have to enable a few weekend dates.
I have tried adding in those ...
1
vote
2
answers
148
views
jQuery date picker year 1927 format dd mm y issue
jQuery DatePicker for format dd mm y breaking
I type in 01 01 27 it breaks it doesn't shows the date selected in calendar
Is it a jQuery bug ?
It accepts all values above year 1927
HTML
<p>...
2
votes
2
answers
2k
views
jQuery Date Validation while explicitly type on the input field
jQuery Date Validation while explicitly type on the input field instead of selecting from datepicker
I just want minimum date as today. i.e I don't want to select future dates.
In date picker i ...