All Questions
720
questions
0
votes
1
answer
200
views
jquery datepicker add button & autoclose: false problem
I am working on datepicker.js customization, but have some problems here:,(
Could you please give me a clue about what I am doing wrong?
I would like to add an additional button (not the button which ...
0
votes
1
answer
73
views
datepicker does not work even after following the same script
I am trying to follow the below code to implement addition of days to datepicker
[https://jsfiddle.net/up82wt76/][1]
Below is the code I implemented in Visual Studio 2022
It is a straight copy. Why ...
1
vote
0
answers
382
views
Flatpickr doesn't show after html code is rendered
I am using Flatpicker to show a datetime picker, and the following code works fine, if i click on the input field, the calender opens and the user is able to pick a datetime.
<input id="...
0
votes
2
answers
446
views
Datepicker formatDate
i need to change my format date in date picker from "12/25/2022"(for example) on "25/December/2022"
heres my code:
$(".date-picker").datepicker({
format: 'dd-mm-yyyy',
...
0
votes
1
answer
76
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 ...
0
votes
0
answers
102
views
How to set properly localisation for datepicker in knockoutjs
I put locale: en in my options, but that doesnt work.
Should I put somewhere else?
ko.bindingHandlers.datepicker = {
init: function (element, valueAccessor, allBindingsAccessor) {
//var ...
0
votes
0
answers
139
views
jQuery UI Datepicker not working | jQuery 3.3.1
I have this project about booking system in php. little bit old tbh but it's get the job done
Anyway.. I have a problem with the "datepicker" in jquery.
I have this input field
<div class=...
-1
votes
1
answer
2k
views
How to get date when selecting year and month in datepicker
Is there a way to automatically get the date when the year and month are selected without clicking the done button?
$(function() {
$('.date-picker, .to').datepicker({
changeMonth: true,
...
1
vote
0
answers
124
views
How to use datepicker() in JS code ? (not a function)
I'm trying to use the datepicker function but I'm getting a error.
There is a lot of topic about this problem but every time i try a different method, it doesn't work (with .noconflict() -> maybe i'...
1
vote
1
answer
978
views
Selecting a date in datepicker
If you select 06.05.2021 in the first datepicker, then the second date picker should not select anything before 06.05.2021. The script works with the yy-mm-dd format. The dd.mm.yy format does not work....
0
votes
3
answers
114
views
JQuery datepicker set manual date not a current date of calender?
How we can set a our manual date not a current date of calender (e.g now date is 2021 but i want to set date of year 2020) into datepicker JQuery??
-2
votes
2
answers
1k
views
Display today's date in datepicker [duplicate]
Anyone here how do I display today's date in jquery datepicker? Tried these but it doesn't display today's date in datepicker.
$('#from').datepicker({
defaultDate: new Date(),
dateFormat: '...
0
votes
1
answer
78
views
Jquery ui datepicker preselect date that is not a sunday
I have modified the jquery ui datepicker to pre-select the day that is 2 days from now and I have also disabled Sundays in the datepicker. However, the input field is still being pre-filled with the ...
0
votes
2
answers
30
views
datapicker beforeShowDay dataFormat problem
I have a problem with dateFormat when it is in function beforeShowDay.
I am using datapicker jQuery DataPicker from https://api.jqueryui.com/datepicker/.
I would like it to check the dates and change ...
0
votes
1
answer
524
views
Highlight disabled day in datepicker
i need to highlight a disabled date from datepicker
what i have now is like this
the only available day is Tuesday, so i wanted to highlight the disabled day
this is my javascript
<script>
...
0
votes
1
answer
195
views
Jquery UI Datepicker disable specific days and all (Mondays&Tuesday)
I want to disable specific days and all (Mondays&Tuesday) for example
var array = ["2020-03-14","2020-03-15","2020-03-16"]
$('#datepicker').datepicker({
beforeShowDay: function(...
0
votes
1
answer
335
views
How to set firstday of the week in oracle jet datepicker
I am not able to set first day of the week in oracle jet datepicker while its simple to set in jquery ui
Thanks.
0
votes
1
answer
40
views
Difference between JS Date object and jQuery UI datepicker
When I set a date with native JS tools, with an ISO date as the input, the date that I obtain is: Wed Apr 29 2020 02:00:00 GMT+0200, so the hour is 2 p.m.
When I set a date using jQuery UI datepicker ...
0
votes
1
answer
197
views
how to change format datapicker to YYYY-MM-DD
how to make the datapicker format be like 2020-01-08
$(".datepicker").datepicker({
format: 'yyyy-mm-dd',
autoclose: true,
todayHighlight: true,
});
$("#tgl_mulai").on('changeDate', function(...
2
votes
2
answers
806
views
Make days unselectable on load with jQuery Datepicker
I have two dates: a Min and a Max, like seen on the linked picture. How do I set so that when the page loads, that the minimum date is set for the "Max date" field when rendering the page? So that the ...
0
votes
1
answer
42
views
jquery ui Datepicker reInitialization of minDate fails
i have a function that initializes a datepicker
function initDatepickerTaskEndDate(){
//console.log(new Date(studyPhaseTimeframe.endDate));
$(".closeTaskDatePicker")....
0
votes
3
answers
233
views
minDate is not being set?
I have this jQuery UI datepicker which I've used before. For some reason it will not work on this project. It prints the date correctly and I simply do not see why it wont work.
I've managed to get ...
1
vote
0
answers
61
views
Datepicker not appearing when using javascript file
I am trying to make the Datepicker widget appear by using a javascript file and it won't appear when I load the html file in a browser. I am also very new to coding in html/javascript.
The Datepicker ...
0
votes
0
answers
45
views
I have error when i use datepicker for jquery-ui
I have add datepicker for jQuery UI but I have this error:
Uncaught TypeError: $(...).datepicker is not a function
I add plugin jQuery and jQuery-ui but I have also error
code twig:
<!DOCTYPE ...
1
vote
0
answers
44
views
jquery ui datepicker option dateformat does not respond properly
I want to use the jquery ui datepicker in order to pick months and years. After searching in sites i have created this function:
$(".datepickerSchedule").datepicker({
showOn: "both",
...
-1
votes
3
answers
68
views
datepicker disable futures dates
I would like to disable future dates (starting with the day after tomorrow) using datapicker, but it's not working. I tried 3 solutions:
maxDate: 0
and
maxDate: '0'
and
maxDate: new Date();
...
1
vote
3
answers
246
views
jquery ui datepicker range clear value based on another selected value
I use JQuery UI datepicker range that used in the following article (jquery ui date range 15 day between two date) for my form, it is working perfectly, the issue is I have another drop-down list ...
2
votes
3
answers
18k
views
DataTables+Datepicker filter table by date range
Trying to implement DataTables filter by date range using two bounded datepickers.
I've seen few similar questions at SO, but none of those having answers worked for me.
So far, I managed to ...
0
votes
1
answer
433
views
JQueryUI Datepicker - Adding Event to Disabled Date
I have a JQueryUI Datepicker with some days disabled using the beforeShowDay parameter. I know you can add a tooltip using that parameter, but I need to trigger a message to appear that says "This ...
0
votes
1
answer
2k
views
How to localize jQuery UI DateRangePicker?
I am using jQuery UI DateRangePicker (reference).
I would like this daterangepicker available in 3 languages (nl, fr and en).
I will be using a switch statement to set the settings for the calendar....
0
votes
1
answer
149
views
Calendar not starting from today jqueryui daterangepicker
I am using the jQuery UI Daterangepicker (reference).
I want the calendar to start from today, with no max date. I am trying to use moment in the calendar for the dates.
This is the HTML & JS ...
0
votes
1
answer
71
views
jQuery UI datepicker - How to use dateFormat for dates inside the code?
I want to manipulate with some dates in my datepicker calendar, I just don't know how can I write the dates in the date format that I want. When I use dateFormat in my code it won't work.
My answer ...
0
votes
2
answers
205
views
jQueryUI DatePicker - Add click events to dates outside of minDate and maxDate
I am using 2 jQueryUI DatePickers to select a start and end date. My requirements are that I must specify a start and end date separately, rather than selecting a date range on a single calendar.
...
0
votes
3
answers
2k
views
2 dependent datepickers with min and max date
I'm looking to build a form with 2 datepickers. The chosen data of the first one, must be the minDate of the second one and the maxDate of the second one must be the minDate+10 days.
For example:
...
0
votes
2
answers
385
views
Disable end date not more than 10 day calendar javascript
i want to know disable end date not more than 10 day. this value select start date dynamic
example:
select startdate 12/21/2018
select enddate (select date more than 10 day) 12/30/2018
startdate ...
0
votes
1
answer
873
views
Textbox onChange event and Datepicker onSelect conflict
I have two text boxes for date fields. User is allowed to enter date in those fields via both jQuery-ui Datepicker and via manually typing through keyboard. The requirement is after entering date in ...
0
votes
1
answer
1k
views
Get no of days in selected month in jQuery UI datepicker
I'm using JqueryUI datepicker. I want to calculate no of days on selected month & display in textbox.
$(function() {
$('.date-picker').datepicker( {
changeMonth: true,
...
0
votes
2
answers
260
views
Fetch the value from input box contain month-date format by javascript or jquery
I want to fetch the value of the date and want to increase by 1 year and set the value for the next date .but if i am putting text i am getting alert if i am just choosing from datepicker i am not ...
0
votes
1
answer
42
views
.find() doesn't work as expected on DOMNodeInserted
I have a project which uses the jquery-ui datepicker. This date picker uses older icon that i want to change without modifiying the code of the jquery-ui-{version}.js in case of future updates.
Also, ...
1
vote
1
answer
2k
views
Hover effect in between the selected start date and end date in css
I am working on a website in which I want the hover effect to be place (as shown below in an image) in between the selected (Suppose July 26th) start date and the dates which we will select on the end ...
-6
votes
2
answers
2k
views
Need to validate Date of birth user should be 18 years and more
i am using bootstrap-datepicker.js to take date of birth from calendar,i need to disabled past date and it should be enabled after 18 years in calendar. Please help me to resolved this issue.
0
votes
1
answer
2k
views
Disable specific dates and enable specific days of the week in jQuery datepicker
I'm trying to disable specific dates and enable only specific days of the week on a jQuery UI datepicker.
This is inside a Wordpress/Woocommerce theme and I'm trying to solve some bugs but I'm here ...
0
votes
3
answers
2k
views
Open datepicker only if condition is true?
I'm using a datepicker in my To Do List table that the user can use to select a certain date. I'm using it to select a certain "completed date" and I only want the datepicker to open if the To Do is ...
2
votes
0
answers
5k
views
Angular 5: jQuery UI datepicker not working
I want to use the jQuery UI datepicker with Angular 5, but it doesn't work...
First I wrote a simple html file without Angular:
<html lang="en">
<head>
<meta charset="utf-8"&...
0
votes
4
answers
648
views
Adding datepicker date with integer
I have my code where I have three fields,
datepicker
an input field for integer value
an input box for showing resulting date.
I select the datepicker date and it reads in dd/mm/yyyy format, say 06/...
0
votes
1
answer
5k
views
JQUERY Datepicker - validation error doesn't go away after selecting a date from datepicker
I am using jquery datepicker and it seems there are some issues with validation error. After validation error if i select a date from datepicker then validation message doesn't go away. It disappears ...
1
vote
1
answer
171
views
JQUERY UI Datepicker won't close when selecting selected date
I have a datepicker in js (using Jquery UI), that works just fine. When i click on a date, the datepicker closes. But, when I click the date that is already selected, the datepicker won t close.
(...
0
votes
1
answer
1k
views
jQuery datepicker specific date disable is not working
I have code to disable specific dates on jquery datepicker. code runs fine on my local environment but not working on GoDaddy windows hosting
var disableddates = result; //result is array of dates [...
-2
votes
1
answer
2k
views
jQuery Datepicker .val() is blank however a date is displayed?
This is my first question.
I have looked for an answer but my searches seem to bring back a lot of ways to enforce the datepicker value is empty, or being able to access the selected value which is ...
0
votes
1
answer
612
views
Append to jquery ui datepicker beforeShowDay
I have two steps in my logic; first show/hide a pre-defined range of dates, then to disable/enable specific days. I'm trying to figure out if it's possible to manipulate the existing beforeShowDay ...