Tagged Questions
0
votes
1answer
16 views
jQuery UI: datepicker displays incorrectly
I'm trying to show a jQuery datepicker using
$("#datepicker").show();
The CSS:
#datepicker{
width: 200px;
height: 50px;
right: 200px;
top: 200px;
position: fixed;
display: ...
1
vote
2answers
46 views
jQuery UI Datepicker range select for three dates
I am setting three dates in ascending order Request, Submission and Approval respectively and using the jquery datepicker for the same.
The javascript code is as follows:
...
1
vote
2answers
37 views
Jquery datepicker localized alt format for alt field
I have this fun datepicker in my french page :
$('#datepicker').datepicker({
altField: "#alternate",
altFormat: "DD, d MM, yy",
beforeShowDay: $.datepicker.noWeekends
}, ...
0
votes
2answers
33 views
How to position a JQueryUI datepicker dialog via a MouseEvent
I'm trying launch a datepicker in dialog mode via clicking on some text.
<input type='hidden' id='datepicker'>
<div onclick="getdate()">
Click on me to launch DatePicker dialog
...
1
vote
1answer
63 views
Set multiple jQuery Datepickers' value based on one jQuery Datepicker's selected date
I have follow jQuery UI Datepicker sample code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Datepicker - Default ...
1
vote
1answer
43 views
Jquery UI datepicker not working with handsontable
I have a page with handsontable and the jquery UI datapicker component ?
By themselves, they work fine.
Jquery UI datepicker, http://jsfiddle.net/7Bvap/355/
$( "#datepicker" ).datepicker();
...
1
vote
1answer
28 views
jQuery CSS conflicts in Wordpress
I've created this WP plugin that uses a jQuery UI Datepicker. Works great, does exactly what I want it to do.... except any WP install already running a jQuery UI CSS will be overriden by mine. ...
1
vote
1answer
54 views
jQuery date picker : limit to selected month
how do i limit date range to selected month.
if user select month of November in 'From date' i need to limit 'To date' in that selected month. No matter user select November 30th. to date should only ...
0
votes
3answers
32 views
How to show datepicker on page without calling on any even or just after page load?
I am using jquery datepicker for selecting a date but in the example here
it is called on click into a text box. I just want the same right after page load. User should see the date picker right ...
1
vote
1answer
75 views
Show full date in input for jQuery UI Datepicker
Using jQuery UI datepicker, I have the following:
<input type="text" id="check_in">
$( "#check_in" ).datepicker({
numberOfMonths: 2,
dateFormat: 'dd/mm/yy',
minDate: -1
});
When a date ...
0
votes
2answers
60 views
How to disable all previous dates on the datepicker
I've two date pickers for select the start date and end date. Once I pick a start date, I want to grey out all previous dates on the calendar for the end date field I tried the following code but its ...
0
votes
1answer
47 views
Jquery UI Datepicker close on pressing “OK” button
Ive set this button - closeText: "OK" ,
how to set up datepicker so it would not close when I pick day and close it only when "OK" button is pressed ?
1
vote
0answers
43 views
Jquery Datepicker changing format on reloading the page
I am using Jquery DatePicker for my application with the format dd/mm/yy. The code i am using to get it is below.
$(function(){
$("#demandStartDate").datepicker({showAnim: 'clip', inline: ...
-3
votes
1answer
129 views
jQuery ui datepicker enable dates for visible month via AJAX
I have a jquery ui calendar running on website only certain dates are enabled based on the previous drop down selections (this is a mysql query to get dates, here i am getting dates for entire year) ...
0
votes
2answers
47 views
Can I make the jQuery datepicker display more year when using the changeYear option?
I am using the jQuery datepicker in an application which will be used, among other things, to insert and update birth dates of employees. I find it cumbersome to have to click several times in order ...
0
votes
1answer
37 views
How to programatically call jquery datepicker select
I simply want to call jquery datepicker onSelect callback as if user selected a date manually.
I initialize like the following:
startDateTextBox.datepicker({
onSelect: function() {
...
0
votes
1answer
60 views
Jquery UI Datepicker Works, but unable to select date
I am using Jquery UI datepicker the code I am using is as follows
ps_jquery( ".datefield " ).datepicker({
changeMonth: true,
changeYear: true,
yearRange: "-100:+10",
});
This code is working fine ...
0
votes
0answers
342 views
validate date inputs in jquery ui datepicker
Please I am using jquery ui datepicker as part of my asp.net application. The challenge I am having right now is how I can validate the input in the associated text box if it is typed in manually.
...
1
vote
2answers
168 views
jQuery UI Datepicker displaying incorrectly
I'm trying to add a form to a web page containing an input that is to display the jQuery UI datepicker widget once a user has clicked on the input just as it does on the jQuery UI Site.
I have ...
0
votes
0answers
59 views
jQuery Datepicker stays open after selecting in IE
jQuery UI Date picker stays open even after selecting the date.This happens only in IE.
It works perfectly fine in all other browsers.
Here is the datepicker that I'm trying to use with these ...
0
votes
0answers
55 views
trying to modify current jquery ui datepicker to show range
I have this working fiddle (http://jsfiddle.net/sunnyday195/3FC7n/) and although its working somewhat I still need it to do 2 more things:
when you focus in on the return I want to show the current ...
0
votes
2answers
41 views
Setting a minimum date on a jquery datepicker
I am trying to create a DatePicker out of a textbox using jQuery. I have the following code:
$(function() {
$("#ctl00_ContentPlaceHolder1_txtServiceDateRequested").datepicker({
showAnim: ...
3
votes
9answers
406 views
Datepicker not working in Firefox
Here's my datepicker which isn't working in Firefox
<div class="input-append datepicker">
<?php if($_REQUEST["date"]){ ?>
<input id="filter-date" ...
0
votes
0answers
29 views
Dialog datetimepicker unable to pick and the datepicker fall behind
here my code :
$(function () {
var dtFormat = 'dd-M-yy';
$("#newsDate").datepicker({
dateFormat: dtFormat,
showOn: "button",
buttonImage: "@Url.Content("~ / ...
0
votes
1answer
72 views
jQuery DatePicker - adding class to dates removes the default ones
When using the jQuery Datepicker I need to add different classes to different dates, but doing so removes the default classes, like ui-datepicker-current-day for the currently selected day. How can I ...
0
votes
2answers
192 views
How to disable all the dates that comes before the selected date? [duplicate]
I am a newbie to the Jquery and I am developing an Hotel application, where the users are allowed to select the 'check-in' and 'check-out' dates, and I am using a datepicker for these fields. ...
1
vote
1answer
272 views
month picker not working
Hello am not able to display a month picker placed inside a table.
<!DOCTYPE html>
<head>
<script src="js/libs/jquery-1.9.1.js"></script>
<link rel="stylesheet" ...
0
votes
3answers
258 views
Calendar change URL on select with jQuery UI datepicker
I am using jQuery UI picker and I am wondering if it's possible when someone pick a date, it automatically redirect them to the URL like so:
index.php?date=2013-10-15
Here's the plug-in I am using.
...
0
votes
1answer
464 views
jQuery datepicker doesn't appear in Firefox
I have an input form using FLAT UI KIT that MUST contain a datepicker, so I chose to use jQuery's widget. But when I run it in Chrome the datepicker shows up, whilet on Firefox it is shows as a simple ...
0
votes
2answers
92 views
jquery ui datepicker allows past dates?
How can I allow past dates as deep as possible in jquery ui datepicker?
$( ".date-picker" ).datepicker({
dateFormat: "yy-mm-dd"
});
these answers I found seem that you have to set a date in the ...
1
vote
0answers
346 views
Set UTC date in jQuery UI Datepicker
I have this snippet:
var _datePicker = $(this); // This is inside a cycle
_datePicker.datepicker("setDate", new Date(_datePicker.data("defaultdate")));
And it works ok, but the problem is ...
0
votes
0answers
163 views
jQuery UI datepicker positioning issue in scrollable div
My page contains a form inside a scrollable div. In the form there are a few datepickers. If I scroll while the datepickers are open, they do not scroll with the content of the div.
I've found a ...
1
vote
0answers
132 views
jQuery Datepicker reappearing when navigating back to page in IE10
This issue relates to Internet Explorer 10, which is what I'm testing on and doesn't affect my current versions of Firefox or Chrome.
Steps to reproduce in Internet Explorer
Navigate to: ...
0
votes
1answer
126 views
Make textbox and image bring up datepicker
I currently have this script which gives me an image next to the textbox. If I click the image, it shows the datepicker:
$("#txtDate").datepicker({
changeMonth: true,
changeYear: true,
...
0
votes
1answer
57 views
php show notice within that interval dates
In php I want to show a message in the page within the activated dates means the date from and till date will selected by the admin and within those selected days the message will be shown in the ...
1
vote
3answers
1k views
One individual jQuery UI DatePicker not working
I have three text inputs on a view. All have the class datepicker.
@Html.TextBox("Dummy", DateTime.Now, new { @class = "datepicker" })
@Html.EditorFor(model => model.StartDate)
...
0
votes
0answers
46 views
Determine original source of onSelect event in jQuery UI datepicker
Relatively new to jQ/js in general. I did due Googling/StackOverFlowing/asking of co-workers and couldn't figure out a good answer to this.
I'm using a jQ UI datepicker with the timepicker addon from ...
2
votes
4answers
525 views
jquery function onclick (span class) from jquery datepicker
hi jquery folks I have a jquery datepicker from jqueryui.com/datepicker/. Now i want to add some custom features to it.
The first question, If I enter the source of my page i cannot see the printed ...
1
vote
1answer
88 views
Split datepicker dates into separate inputs
I'm attempting to split datepicker dates into 3 inputs for a booking engine. I want to pass the dates as CID (check-in day) CIM (check-in month) and CIY (check-in year). I seem to have the split ...
1
vote
2answers
641 views
How can I repopulate the jquery UI datepicker from an Ajax response
I've been using this question as a guide to associating events with the jQuery UI Datepicker.
I have my dates and events highlighting for the current month which works fine. My question is how can I ...
1
vote
0answers
274 views
jQuery UI datepicker - Date Range - #to - set first month to display where numberOfMonths = 3 (it defaults to selected days month)
Hi, I have a 2 textboxes (#from and #to), with a date-range between them.
DateRange Datepicker
E.g. #from I select 10 October 2014
(The current popups show October,November,December)
Now at this ...
0
votes
1answer
117 views
How can i set the start date as default end date if the user does not enter the end date in jquery?
var dates = $("#filterDateStart, #filterDateEnd").datepicker({
dateFormat: "yy-mm-dd",
changeMonth: true,
numberOfMonths: 1,
onSelect: function (selectedDate) {
...
0
votes
0answers
48 views
ui-date day start TO day end
i use ui-date (https://github.com/angular-ui/ui-date) in my project.
i have problem with changing options realtime in controller.
HTML page
<input ui-date="startOptions" ng-model="dateStart" ...
0
votes
1answer
188 views
Make CJuiDatePicker field accept multiple date formats, change JS validation (yii 1.1)
I have a zii.widgets.jui.CJuiDatePicker with a certain date format (Y-M-D) which is the preferred and database format, but I'd like the input field associated with it to be fillable with D/M or D/M/Y ...
0
votes
2answers
654 views
jQuery UI DatePicker only trickers validation every second time
I have uploaded a simple application where you can have the same experience as I am having with the
DatePicker jQuery UI:
DatePickerValidationMvc: http://sdrv.ms/17tS25J
I am using jQuery UI ...
0
votes
1answer
76 views
JQuery datepicker jump ahead by years insted of months
The default Jquery UI datepicker allows the calendar to have a single arrow, and jump ahead by a month. Is there any way to add in a feature to make it jump up by years too? Like maybe a double arrow?
...
0
votes
1answer
153 views
wrong value returned for month in datepicker of jquery ui when using the next arrow
I am using datpicker to provide options to select the month/year only and when the month is selected, a form is submitted with the selected value.
here is the code:
jquery ui datepicker
with this ...
-3
votes
1answer
131 views
Calculate End Date, based on start date and drop down list of number of Package in cakephp
I would like to know if this is possible to calculate an end date based on user picking a start date and a select list of number of package.
i.e. I select a silver package and choose a start date of ...
1
vote
2answers
244 views
jQuery Timepicker “Now” button not accessing current time
This question deals with a third-party plugin, but there may be enough crossover with the stock jquery UI datepicker that someone might be able to help out.
1) Set a maxDate of 0 or new Date() is set ...
1
vote
2answers
171 views
Set last year selected with jQuery UI datepicker
I set a range of years like this
$(".date").datepicker({
changeMonth: true,
changeYear: true,
yearRange: '1900:c-18'
});
That shows a year dropdown from 1900 to "18 years before today". ...