Skip to main content

Questions tagged [datepicker]

A datepicker is a user interface element in many frameworks that allows a user to choose a date and also, in some cases, time, often through a visual calendar. When including this tag, it would advantageous to also include details regarding the specific data picker being used as they each have different properties/options/functionality.

datepicker
271 votes
19 answers
715k views

jQuery UI Datepicker onchange event issue

I have a JS code in which when you change a field it calls a search routine. The problem is that I can't find any jQuery events that will fire when the Datepicker updates the input field. For some ...
zbestzeus's user avatar
  • 2,867
244 votes
12 answers
385k views

jQuery date/time picker [closed]

I've been looking around for a decent jQuery plugin that can handle both dates and times. The core UI DatePicker is great, but unfortunately I need to be able to take time in as well. I've found a ...
Chelsea's user avatar
  • 6,791
186 votes
7 answers
319k views

Are there any style options for the HTML5 Date picker?

I am really stoked about the HTML5 date picker. The caveat is that I don't see or foresee much in the way of applying colors to the picker itself which is going to make the use of the datepicker kind ...
Wray Bowling's user avatar
  • 2,456
179 votes
3 answers
115k views

Javascript date.getYear() returns 111 in 2011? [duplicate]

I have this javascript for automatically setting a date filter to the first and last day of the previous month: $(document).ready(function () { $("#DateFrom").datepicker({ dateFormat: 'dd/mm/yy' }...
JK.'s user avatar
  • 21.7k
172 votes
40 answers
484k views

Not showing placeholder for input type="date" field

I am doing a phonegap app. When I am trying type="date" input field as shown below, it shows date picker in iPhone as I expected but it doesn't show the placeholder I have given. I found the same ...
Mumthezir VP's user avatar
  • 6,441
155 votes
24 answers
429k views

jQuery UI " $("#datepicker").datepicker is not a function"

When i use DatePicker, jQuery's UI plugin, in an existing .aspx page I get errors that: $("#datepicker").datepicker is not a function However, when I copy and paste the same code that creates and ...
burnt1ce's user avatar
  • 14.8k
148 votes
19 answers
30k views

Jelly Bean DatePickerDialog --- is there a way to cancel?

I have something weird here. I don't think the problem depends on which SDK you build against. The device OS version is what matters. Problem #1: inconsistency by default DatePickerDialog was changed (...
davidcesarino's user avatar
147 votes
25 answers
271k views

jQuery Datepicker with text input that doesn't allow user input

How do I use the jQuery Datepicker with a textbox input: $("#my_txtbox").datepicker({ // options }); that doesn't allow the user to input random text in the textbox. I want the Datepicker to pop ...
Elliot Vargas's user avatar
134 votes
15 answers
457k views

jQuery datepicker set selected date, on the fly

How can I change the selected date of jquery Date picker dynamically on the fly? I have say created a inline date picker. Then after some time, I want to reflect a different date there without ...
Sabya's user avatar
  • 11.8k
131 votes
2 answers
157k views

How to disable manual input for JQuery UI Datepicker field? [duplicate]

I decided to use the JQuery UI Datepicker script for picking dates. Below is part of my code, and the way I integrated it into my PHP page: <link type="text/css" href="css/south-street/jquery-ui-1....
BeeDog's user avatar
  • 1,875
128 votes
13 answers
162k views

putting datepicker() on dynamically created elements - JQuery/JQueryUI

I have dynamically created textboxes, and I want each of them to be able to display a calendar on click. The code I am using is: $(".datepicker_recurring_start" ).datepicker(); Which will only work ...
steeped's user avatar
  • 2,623
109 votes
1 answer
282k views

Bootstrap date and time picker [closed]

Suggest me any JavaScript to pick the date and time . NOTE: I want to use only one file for date and time picking. I already see this: http://www.eyecon.ro/bootstrap-datepicker/ and http://...
Aravindhan's user avatar
  • 3,626
103 votes
18 answers
185k views

Bootstrap datepicker hide after selection

How do I hide the calendar after a date is selected? Is there a specific function that I can use? My code below: $('#dp1').datepicker({ format: 'mm-dd-yyyy', startDate: '-15d', autoclose:...
jheul's user avatar
  • 1,201
97 votes
16 answers
378k views

jQuery Date Picker - disable past dates

I am trying to have a date Range select using the UI date picker. in the from/to field people should not be able to view or select dates previous to the present day. This is my code: $(function() { ...
Harsha M V's user avatar
  • 54.7k
97 votes
9 answers
248k views

Angular-Material DateTime Picker Component?

I imported a date picker in a project and was wondering if there was any official recent component from angular and material to include time in the calendar as well. I've seen plenty of time pickers ...
Kevin Curnow's user avatar

15 30 50 per page
1
2 3 4 5
1129