All Questions
720
questions
1
vote
2
answers
2k
views
jQuery UI datepickers get date and day name on one click [closed]
I'm using datepicker by jQuery UI to get the full date and day. But now I want to do that with just one click on calendar. Here is my Example code:
<script>
$(function(){
var pickerOpts1 = {...
0
votes
0
answers
314
views
jQuery UI Datepicker enable specific days in array
Hi i can't seem to figure out how to incorporate my working days array into the getDay() function in jquery-ui datepicker script. I would like to enable the days in wd array, how can i do so?
var ...
0
votes
1
answer
40
views
jQuery loading UI with getScript causing errors with undefined datepicker
So I am trying to create a widget to go onto third party websites, The widget is using the jquery UI as well but trying to get the datepicker to work is just not working as expected.
Here is my code....
0
votes
1
answer
560
views
jqueryUI datepicker without document.ready function
To create jquery datepicker, we use the following function
$( function() {
$( "#datepicker" ).datepicker();
} );
<input type="text" id="datepicker">
I am trying to achieve a in-line ...
0
votes
1
answer
703
views
jQuery UI datepicker functionality to select only year or year-month or year-month-date
I'm using jQuery UI plugin for datepicker and I need some features in it. I want users to be able to select date in following three formats:
User can select only year.
User can select year and month.
...
0
votes
1
answer
2k
views
jQueryUI Datepicker won't accept different date format
I have two datepickers made like this:
<input id="periode_eind" type="date" class="datepicker" name="periode_eind" value="@Model.PeriodeTotEnMet.ToString("dd-MM-yyyy")">
They are then ...
1
vote
0
answers
227
views
jQuery Datepick plugin (Keith Wood) julian dates incorrect with daylight savings
I am having an issue with Datepick by Keith Wood. I want to display the selected date in julian format in the text box and the calendar pop-up. However, during day-light savings, the calendar pop-up ...
0
votes
2
answers
2k
views
how to dynamically disable specific date in jquery datepicker?
I am trying to dynamically disable date (jquery datepicker) which is already in database. I have done static method in that I am able to achieve goal but not getting success in dynamic approach
<...
-1
votes
1
answer
6k
views
jquery datepicker set initial date
I need to set the initial date on jquery-ui datepicker initialization, so i tried with defaultDate field:
$('#first').datepicker({
defaultDate: '12/04/2018',
dateFormat: 'dd/mm/yy',
});
but ...
0
votes
1
answer
120
views
In jquery ui datepicker how can I can I make timepicker.co change time if Saturday is chosen?
At the moment I am struggling in making Datepicker change timepicker.co options if Saturday is chosen.
$(".selector").datepicker({
if(Saturday chosen) {
Time changed 7am - 2pm
}
})
...
0
votes
1
answer
35
views
JQuery UI Datepicker not functioning
I am running into an issue where I feel as though I have everything set up correctly; but, no matter what, the JQuery UI Datepicker will not show up.
I have the following set up in my header (Angular ...
0
votes
4
answers
281
views
Different action on several DatePicker
I currently have a form in which there is 2 datePicker (Jquery UI).
On the first one, when I "mouseenter" a date, I do an AJAX call to get a response (and it works).
The problem here is that the AJAX ...
0
votes
2
answers
912
views
Datepicker Month and Year Selected error
I want to build a datepicker that accepts only Month and Year, so i simply put hide the days with CSS using display:none and that's fine for me.
Then i change the datepicker options for user choose ...
0
votes
0
answers
309
views
Autofill textbox using jQuery DatePicker. Calendar displaying at bottom of screen. Why?
I'm trying to autopopulate a textbox with the current date. For some reason when I do this, a calendar is at the bottom of the screen like this:
Other than this, the code is working properly. I'm ...
1
vote
1
answer
569
views
jQuery Datepicker - Set 1st picker to limit to active week of 2nd picker
Two datepickers, staff are to enter a weekday into datepicker 1 (#from) and then enter in a second date into (#to). Date 2 must always be in the future with respect to date 1. Weekends not allowed.
...