All Questions
Tagged with jquery-ui datepicker
480
questions with no upvoted or accepted answers
13
votes
3
answers
2k
views
Cannot select years BC
I'm working on a project that need to handle dates BC (eg 100BC, or 2000BC) as well as 2014AC etc..
In the API documentation of Datepicker, it is stated that minDate and maxDate can be set using ...
5
votes
1
answer
6k
views
jQuery UI Datepicker not working on iOS
I have a search form with a couple of date fields that I'm happily using jQuery UI's datepicker on:
<input class="formFields datepicker" id="arrival" name="arrival" required="" placeholder="...
5
votes
5
answers
11k
views
How to make a jquery datePicker button image unclickable
I have a jquery UI datePicker in my page. I have a text box on which the date is displayed. The code is:
$("#cal").datepicker({
minDate: new Date(),
defaultDate: new Date(),
buttonImage:
...
4
votes
1
answer
5k
views
jQuery UI Datepicker - color dates after the selected date
I'm using the jQuery UI datepicker to allow the user to select a date. I need to color 7 days after the selected date.
For example, if the user has selected 1.1.2015, the days 2.1.2015 to 8.1.2015 ...
4
votes
0
answers
8k
views
jQueryUI Datepicker refresh after initialization
On site I have default datepicker initializated globally for all inputs with class input-date.
$('body').on('focus', '.input-date', function () {
$(this).datepicker({
changeMonth: true,
...
3
votes
0
answers
232
views
jQuery UI datepicker not selecting the correct month in 1.12.1
When loading jQuery 3.1.1 and jQuery UI 1.12.1 (both production versions) the datepicker forward and back arrows do not take you to the proper months when numberOfMonths is greater than 1 and ...
3
votes
1
answer
219
views
jQueryUI datepicker formatted date range clearing its partner on new date
I have two input fields, displaying a from and a to month/year. No date should be selected, only the month and year are actually relevant, so first day in the month is used.
They also have an alt ...
3
votes
0
answers
1k
views
jquery ui datepicker force non-inline (popup) mode on span or div
I am attaching datepicker to a span but I want the popup style and functionality that you get from attaching to an input. I can change the css to position:absolute, but the datepicker does not close ...
3
votes
0
answers
2k
views
Fire function after jQuery UI datepicker has rendered
I want to add a hover to all .ui-state-default elements (cells) of a datepicker. The hover uses class information added by the beforeShowDay function. I need a way to be able to rebind the hover ...
3
votes
2
answers
2k
views
MVC3 Cultures vs jQuery UI Date Formats
I am having a problem with an MVC3 application using a jQuery UI DatePicker object.
Within the MVC application, I ask the user to pick their required culture, i.e en-GB, which then formats all dates ...
3
votes
0
answers
3k
views
Jquery datepicker throwing too much recursion error
Im trying to modify the jquery datepicker with done button as clear button. but it is throwing too much recursion error...
my code is,
function datePickerToCompareTwoFields(){
var dformat = ...
3
votes
1
answer
1k
views
Silent Error in jQuery UI datepicker
I have encountered a very strange problem.
I am building a reporting package and part of it uses the daterangepicker library to, well, pick a date range. However, during the function that creates ...
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"&...
2
votes
0
answers
410
views
jQuery UI datepicker classes Option not overwriting default classes
As per the classes option guide here, I tried to overwrite the default classes used by jQuery ui datepicker.
The datepicker doesn't have a .prototype, like the other widgets, so $.ui.datepicker....
2
votes
0
answers
248
views
Get Weeks in a Month in Jquery DateTimePicker Week
Current I am using Jquery DatePicker as my Calender picker in one of my project. My Requirement is to get the week number also added in each month's Calender display. Also for every month, week should ...