Questions tagged [jquery-ui-datepicker]
A datepicker widget from jQuery-ui which allows the user to select a date from a popup or inline calendar
jquery-ui-datepicker
2,976
questions
0
votes
1
answer
112
views
How do I attach datepickers to text boxes with the same ID?
I have an ASPX that has a repeater. Inside the repeater is a text box with a JQuery datepicker attached to it. The text box's ID is static, so it is the same for all of those items within the ...
0
votes
2
answers
213
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,
});
$...
0
votes
2
answers
179
views
jquery datepicker insert dayid to all days within <td> attribute
I need to add dayid to all <td>
for example:
<td class=" " data-year="2022" data-month="8" data-event="click" data-handler="selectDay">
&...
0
votes
1
answer
590
views
jQuery UI datepicker onSelect NOT working
I have From Date and To Date jQuery datepicker controls and if I change From Date, then To Date should automatically be 180 days from From Date
Below code is not firing the onSelect event even if this ...
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
0
answers
52
views
"beforeShowDay" Not working for given Condition
i want to enable only "friday" in datepicker.
$(".input-monthpicker").datepicker({
format: "dd/mm/yyyy",
autoclose: true,
//...
0
votes
1
answer
115
views
Jquery UI Datepicker - if user enter last 2 digit of year in input field it should show as 4 digit of year
$("body").on("focusin", ".date_field", function(e) {
$(this).datepicker({
yearRange: "c-40:c+10",
minDate: $(this).data("minimum-date&...
0
votes
1
answer
130
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
1
answer
952
views
How do I get beforeShowDay to work with my jQuery datepicker?
I realize many have already asked similar questions, but I have been plugging away at this for ages and, despite reviewing numerous posts and multiple attempts, I can't figure out how to get it ...
0
votes
1
answer
291
views
Trying to call the jQuery datepicker with the dynamic ID from HTML file
Trying to call the jQuery datepicker with the ID. But I do not want to declare the ID on the script page. I want to call this jQuery file or function from the HTML file when I clicked on the input ...
0
votes
1
answer
184
views
jQuery UI Datepicker Event catcher NOT within the plugin code
I am trying to trigger an event outside of the jQuery UI's onSelect code.
I am trying to use jQuery (and I tried vanilla JS too), to catch the on select event of a date, which is actually a 'table td' ...
0
votes
0
answers
211
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/...
0
votes
3
answers
1k
views
Font awesome icon in jquery date picker
I am trying to display the fontawesome icon on "buttonText" of jquery date picker but it displays the text and not the icon. Is it correct? I am using jquery 13.
$("#btnDate")....
1
vote
0
answers
116
views
jQuery UI Datepicker check if given date is Disabled or not
I am working on Online Class Booking Project
in which I am getting dates array dynamically.
For example : if a student has selected a particular date range and selected classes for every Monday, then ...
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 ...