Skip to main content

All Questions

212 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 ...
Odys's user avatar
  • 9,020
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: ...
Farzana's user avatar
  • 51
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 ...
Steve Cersosimo's user avatar
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 ...
Aatch's user avatar
  • 1,856
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"&...
Volker's user avatar
  • 143
2 votes
0 answers
411 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....
lehel's user avatar
  • 451
2 votes
0 answers
25 views

.datepicker improper position on mobile?

On my computer .datepicker shows correctly beneath the form: But on my phone .datepicker overlaps the form: <%= f.text_field :deadline, id: "six", class: 'form-control', placeholder: 'Enter ...
AnthonyGalli.com's user avatar
2 votes
0 answers
235 views

how to change the jquery ui theme dynamically

I have three text box with jquery ui date picker Now what i need is i need to add the theme dynamically for each date picker i need separate theme is it possible to do ? Please check my Fiddle here ...
Question User's user avatar
2 votes
1 answer
1k views

Multiple date inputs for jquery UI datepicker

I have a datepicker, and I need to be able to enter a date manually in multiple different formats. For example, for May 7, 2015, I need to be able to enter: 05/07/2015 05072015 050715 5715 I ...
Brandon's user avatar
  • 365
2 votes
2 answers
1k views

jQuery UI datepicker doesn't close on the iPad

The datepicker usually works on the PC, but not in iPad's browser. In beforeShow, I add the button to close: var headerPane = $("#ui-datepicker-div"); headerPane.append("<a href='javascript:void(0)...
Rafael Alves's user avatar
2 votes
2 answers
2k views

Cannot configure jQuery datepicker to select default date

I am using the following plugin for a datepicker: http://xdsoft.net/jqplugins/datetimepicker/ This is a very nice plugin however I am finding it difficult to set a default date when loading the box. ...
CR41G14's user avatar
  • 5,544
2 votes
1 answer
469 views

beforeShowDay call a day twice

how can i prevent that the function beforeShowDay called a day to times? The jquery datepicker has two months. 30.01.2013 -> month side jan 31.01.2013 -> month side jan 01.02.2013 -> month ...
poldixd's user avatar
  • 1,192
2 votes
2 answers
3k views

How to Calculate Number of days between two calender dates which are in text format in Javascript?

I'm having a form which is having two input fields with date picker(with the help of jquery ui).One asking a check in date & the other asking check out date.I want to calculate the Number of Days ...
user1820858's user avatar
2 votes
3 answers
2k views

jQuery UI datepicker input class

I'm quite fresh on jQuery, and I've just implemented jQuery + jQuery UI, but on the datepicker widget it seems like the classes added on the inputs from before are removed, and datepicker classes are ...
olemarius's user avatar
  • 1,134
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="...
Lesley Peters's user avatar

15 30 50 per page
1
2 3 4 5
15