The jQuery UI Datepicker is a highly configurable plugin that adds datepicker functionality to your pages
0
votes
0answers
20 views
jQuery UI datepicker disabled option not being recognized by Angular 2
I'm using the jQuery UI datepicker in an Angular 2 application, and it works fine with one exception. My application has a list of radio button options that, when any one of them is checked, sets a ...
0
votes
2answers
35 views
How to install jquery-ui/datepicker in rails 4 application?
I installed ActiveAdmin on my rails application, and now get the following error message when loading my view. It says:
"couldn't find file 'jquery-ui/datepicker' with type 'application/javascript'"
...
0
votes
1answer
11 views
Jquery UI Datepicker not working while everything looks fine
jQuery(function($) {
jQuery("#date-from").datepicker();
});
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script type="text/...
-1
votes
0answers
40 views
Disable Sunday and specific dates datepicker
I would disable dates and turn off sundays. I can either desactivate dates or Sundays. I can not disable the 2.
I know that we can only use beforeshowday once and that we must regroup but I can not.
...
0
votes
1answer
16 views
How to show mutliple date ranges (available dates) in daterangepicker and other dates should be disabled
I am making an application in which I have to show multiple available dates(date ranges) in daterangepicker and other dates should be disable accordingly. Current I am using http://www.daterangepicker....
0
votes
0answers
34 views
How to find the element a DatePicker is attached to?
On my site I have a search form at the header with two DatePickers (for depart and return dates) and two Select elements (for depart and arrive cities). This form is loaded by a 3rd party script like ...
0
votes
0answers
24 views
Datepicker cant display dd MM yy dateformat
I have trouble displaying the date format for end date to dd MM yy after selecting the start date from the date picker.
The start date is perfect and the fuction works however, i couldnt edit the ...
0
votes
0answers
18 views
Datepicker custom selection Javascript / jQuery
I need to make the datepicker like this:
just a brief intro, my project is to make something like employee holiday request.
so that the employee can apply their day-off request, but here's what my ...
1
vote
1answer
34 views
How to validate start and end date in jquery datepicker without day.?
I have two datepickers which select only month and year. I need to validate this two datepickers. If I select a month and year from onedatepicker (starDate), say Feb 2017 and all the before dates (...
-1
votes
0answers
22 views
JQuery DatePicker closes parent dropdown menu
In my sample MVC application I place the datepicker within Dropdown menu. If I change month/year in datepicker the parent dropdown menu disappears.How can I prevent this. Please Help Me
Thank in ...
0
votes
0answers
18 views
jquery datepicker allow random text and date
I have this textbox:
<asp:TextBox runat="server" ID="txtEventDate" CssClass="form-control"></asp:TextBox>
Then I also have this jquery code to assign datepicker:
$(function() {
...
0
votes
2answers
42 views
Jquery ui date picker previous month instead of the next
My problem is that at the second click on input (to) the calendar displays the following month.
For example, on the first click on input (to) the calendar displays Jan and Feb (that's what i want). ...
0
votes
0answers
24 views
jQuery datepicker set date correctly in table
I'm using this jquery datepicker in a UI Page within ServiceNow: https://jqueryui.com/datepicker/
Currently, when a user selects a date (i.e 5/25/2017), 5/25/2017 gets correctly displayed in the ...
0
votes
1answer
40 views
jQuery Mobile - Datepicker value in html table
I have the following code for datepicker which is taking today's date by default but the user is free to change it.
<script>
$(function() {
//var datepicker =
$( "#...
0
votes
0answers
32 views
jQuery UI datepicker on mobile Safari (iPhone) month/year dropdown strange behaviour
This issue is apparent on mobile Safari on an iPhone (I haven't tested on other iOS devices) but I have not been able to reproduce on Windows or Android.
A simple version can be found at https://...
3
votes
2answers
68 views
how to show jquery datepicker date in onload in to a div
this script for load dates in to div onclick, i want show date in the div onload.
this script for load dates in to div onclick, i want show date in the div onload
<input id="datepicker2">
...
1
vote
3answers
53 views
Update Global variable with JQuery onSelect
I'm trying to use a datepicker and dropdown menu to update the values of my global variable. I'm a bit clueless on how I can get this to work.
var startValue, endValue, intervalValue, startDate, ...
0
votes
2answers
58 views
how to show jquery datepicker date onload into a div
<input id="datepicker1">
$(function() {
$("#datepicker1").datepicker({
dateFormat: "yy-mm-dd"
}).datepicker("setDate", "0");
});
datepicker in input, how to show jquery ...
0
votes
1answer
22 views
jQuery Datepicker Overlaps With Previously Submitted Input Field
I am using jQuery Datepicker on a form that is being submitted and it is implemented on an input field.
When I click on the input field to choose another date, previously submitted dates appear on the ...
-1
votes
1answer
36 views
I am facing issue on data binding with AngularJS
I am new to Angular JS. I am facing issue on data binding with AngularJS. It works for string but it does not work for datetime. I am using ASP.net MVC with Angular JS and jQuery UI for Date Picker.
...
0
votes
1answer
20 views
BeforeShowDay doesn't changed in datepicker
I have a function to disabled specific days before show date in datepicker, but I have an error: when I call my function in first time it works, but in second call I still have the first result.
For ...
0
votes
1answer
27 views
Multiple DateRangePicker on the same form
I've written the following code.
var start = moment().subtract(1, 'days');
var end = moment().subtract(1, 'days');
var start2 =moment().subtract(2, 'days');
var end2 =moment().subtract(2, 'days');
...
0
votes
1answer
42 views
How to reject same date in to input field?
I am selecting the multi date using jQuery datepicker but I don't want to select the same date twice. It's pretty hard to explain this.
I created a demo which can help you guys to understand much ...
3
votes
1answer
49 views
Disable Past date in mobile jquery
I created a DatePicker in mobile jquery and i want to disable Past Dates Before yesterday. I want to keep only 2 options available in the DatePicker Dialog, that is of Today and Yesterday only. Here ...
0
votes
1answer
26 views
Jquery datepicker button is not working well
I am using datepicker for my view. I also use angularjs. The problem is that when i use ok button it doesnt not change ng-model state. it still shows ng-empty. I use this value to calculate for ...
-1
votes
0answers
22 views
Show week number and days jQuery UI datepicker
I have a jQuery UI datepicker in which I want to show in the input once a user picks a date like this:
43 (Mon Oct 18 2016)
43 is the week number.
My current script:
<script>
require([
...
2
votes
1answer
36 views
datepicker not modified according to options set
I have the following script for my datepicker:
<script>
$(document).ready(function(){
var date_input=$('input[name="Date"]'); //date input has the name "Date"
date_input....
0
votes
0answers
37 views
sonata_type_date_picker somehow makes -1 day after saving entity
Did someone experience this? I have date in datepicker.
https://monosnap.com/file/MfiUeANHvBjQjypTfW3jZqBbxKKCRU
After saving: https://monosnap.com/file/9nLR0yRYfccCVoGcRHkR1KST1zIUMJ
And everytime ...
0
votes
1answer
71 views
MVC 4 models not accept jquery datapicker date format
I am using Entity framwork 6 , MVC 4 and jquery datepicker. When fill all the form data and press the submit button the ModelState.IsValid always return false value, because the jquery datepicker ...
1
vote
1answer
66 views
Vue.js and jQuery datepicker/timepicker two-way binding
Two-way binding with Vue.js using an <input> element doesn't work when jQuery datepicker and/or timepicker updates the <input> value. The binding only happens when a user types inside the &...
0
votes
0answers
16 views
jquery datepicker format insert into table
I am using jquery datepicker and want to have the selected date enter into my data table correctly. When I use the code below, the date that gets entered into my data table is always the current date ...
0
votes
0answers
21 views
jQuery UI datepicker, only input day
I have a jQuery UI datepicker used for booking trips, and would like it to find the nearest date in the future when I enter the day.
Example:
If I input 20, it should automatically find december 20th ...
0
votes
0answers
15 views
MVC EditorTemplate using jQuery UI DatePicker not working for nullable date fields [duplicate]
Long ago I found out the best way to attach a DatePicker to a date field is to use the EditorTemplate DateTime.cshtml:
@model DateTime?
@Html.TextBox("", (Model.HasValue ? Model.Value....
0
votes
1answer
17 views
JQuery Datepicker and my own Timepicker combination
I have got a combined plugin: JQuery Datetimepicker and my own Timepicker in one javascript file.
The problem is when I click on JQuery Datetimepicker button my Timepicker does not close. I have ...
0
votes
1answer
30 views
My JQuery Datepicker doesn't appear
I've made a php page (something about hotel reservation) and I want to make a JQuery Datepicker, I have tried this on a blank page, provided the needed css and js files, and it works.
But when I ...
0
votes
2answers
40 views
jQuery datepicker dosen't work as excepted
I need my date input to be dd/MM/yyyy, but when I use this code:
$('#DateTime').datepicker({ dateFormat: 'dd/MM/yyyy' });
It shows the date like this: 28/December/20162016.
Any idea?
Update:
It ...
1
vote
0answers
38 views
How to extend jQuery UI datepicker to modify Today button and add help icon
I would like to create a new widget plugin (called datepickerHelp) that is based upon the jQuery UI 1.12.1 datepicker widget but is enhanced to do two things;
Overrides the Today button so, when it ...
0
votes
1answer
21 views
Datepicker dropdown lists not align in one row
I am working with JQuery Datepicker with international languages.
When I change the language to Traditional Chinese, the Month and Year dropdown list in Datepicker will be updated. However, the ...
0
votes
1answer
23 views
How to change background-color of selectable dates of datepicker? [closed]
Hi I am currently learning jquery and javascript. The main idea is to change the css of jquery.ui.
0
votes
2answers
30 views
Cannot pick further dates in datepicker using jquery
I am a newbie here , I've set the Starting Date +60 D , and I am confused on why I cannot pick further dates , my plan is that to is set a default date range +60D and I'd be able to pick further dates ...
1
vote
1answer
23 views
JQUERY UI datepicker not working when applied to multiple ids
I am trying to integrate JQUERY datepicker with the following form. I can't seem to figure out why the datepicker doesn't work no matter what I try. I have looked everywhere on stack overflow and none ...
0
votes
0answers
34 views
Jquery UI datepicker date range restriction
I have two date range input box where is format in dd/mm/yy, I'd like to make restriction on both input, for example: first input = 03/11/2016, then the second input will not able to select date ...
0
votes
0answers
33 views
datepicker.setDefaults not working for “internet explorer”
I have following code that is working in Chrome and Firefox but not in "Internet Explorer". Expectation is to display datepicker in local language. If local language is not supported then default to ...
2
votes
2answers
35 views
Date picker not showing december month
I am using below jquery to show date picker I have multiple date select box. It is working properly .However it is not showing december month. Please help me here is my code
$('.datepicker').live('...
0
votes
1answer
39 views
How to bind a datepicker to dynaimcally added elements
I can't figure out how to add event handlers to dynamically added html in the fiddle example below. Through searching I realize you have to delegate the handler to an element originally on the page. ...
0
votes
1answer
19 views
Restricting second date to + days in jQuery UI Datepicker
This was marked as duplicate earlier and i did not get any answers. It's not a duplicate so please don't mark it as such, The other post was related to restrict second date to currently selected date ...
0
votes
1answer
22 views
Jquery UI Datepicker not reloading after click out
Have the following code... (in a bootstrap environment)
<script>
$(document).ready(function(){
$( "#DateValidfrom" ).datepicker( {
showAnim: "clip",
minDate: +2,
...
0
votes
0answers
31 views
jQuery Date Picker Min date takes into account blackout dates
So, I have two different codes that are close to what I want. I want a date picker that has a min date of five BUSINESS days out. The first code disables holidays I select and weekends.
var ...
0
votes
2answers
37 views
How to style the color of the numbers in a jquery-ui datepicker?
I googled the title and it did not help. I have the following css:
.ui-datepicker-calendar{
position: absolute;
top:100%;
left: 0%;
font-size:18px;
color: #ff0; /*This does not work*/
fill: #...
0
votes
1answer
37 views
Set initial value of datepicker input field
I'm using the jQuery UI datepicker
I need to put the start date automatically in the input type text.
$(function() {
$("#datepicker").datepicker({
dateFormat: 'DD, d MM, yy'
}).bind("change",...