Skip to main content

All 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 ...
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
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/...
Mehedi Hasan Kajol's user avatar
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 ...
Can't Code's user avatar
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 = ...
stepbysteptomathpro's user avatar
-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.) ...
Tammi Santiago's user avatar
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 ...
J.Boy's user avatar
  • 15
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 ...
user avatar
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(); $('#...
Kars's user avatar
  • 83
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 ...
Duarte Andrade's user avatar
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 ...
johnwayne's user avatar
-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")....
Riyaz Ansari's user avatar
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 ...
MansoorShiraz's user avatar
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>...
Arun Bertil's user avatar
  • 4,648
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 ...
Mathi's user avatar
  • 159

15 30 50 per page
1
2 3 4 5 6