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
1,589
questions
10
votes
3
answers
8k
views
jquery ui datepicker and mvc view model type datetime
I am using jquery datepicker on my view model
Here is my view:
@Html.TextBoxFor(o => o.JobStartDate, new { id = "dt1", @class = "input-block-level" })
@Html.ValidationMessage("JobStartDate")
and ...
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 ...
68
votes
6
answers
192k
views
Disable certain dates from html5 datepicker
Is it possible to disable dates when I use
I want to disable current date for one scenario and future dates for other scenario.
How should I disable the dates?
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 ...
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 ...
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() {
...
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 ...
39
votes
8
answers
68k
views
Android: how to change the color of the datepicker divider?
I've got a datepicker in my Android app, but now I want to change the color of the blue dividers into green (see the image below this text). There are some other discussions on Stackoverflow that talk ...
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 (...
42
votes
13
answers
83k
views
Datepicker dialog without calendar visualization in lollipop [spinner mode]?
I read the documentation: http://developer.android.com/guide/topics/ui/controls/pickers.html
but now in lollipop appears the calendar (it is ok for an event but horrible for set a date of birth, I ...
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 ...
93
votes
14
answers
115k
views
Disable native datepicker in Google Chrome
Date picker landed on Chrome 20, is there any attribute to disable it?
My entire system uses jQuery UI datepicker and it's crossbrowser, so, I want to disable Chrome native datepicker. Is there any ...
46
votes
8
answers
125k
views
jQuery UI Datepicker - Multiple Date Selections
Is there a way to use the jQuery UI Datepicker widget to select multiple dates?
All help is appreciated!
If its not possible to use the jquery UI datepicker then is there something similar that does?
11
votes
3
answers
64k
views
Jquery datepicker restrict dates in second date field based on selected date in first date field
I am using Jquery date picker and I have the following code where when user selects a date, the field below is populated with date +1
$('#dt2').datepicker({
dateFormat: "dd-M-yy"
});
$("...
1
vote
2
answers
7k
views
Selenium Datepicker using JavascriptExecutor
Please advise if this approach is accepted to pick-up date using Selenium
WebDriver driver = new ChromeDriver();
driver.manage().window().maximize();
driver.get("https://www.spicejet.com/");
...