I have one datepicker with numberOfMonths set to 2.
Arrival Date and Departure Date are determined using this logic (within onSelect):
if ((count % 2)==0) {
depart = $("#datepicker-1").datepicker('getDate');
if (arriv > depart) { temp=arriv; arriv=depart; depart=temp; }
$("#check-in").val($.datepicker.formatDate("D...
UPDATE
I have reverted back to Jquery 1.3.2 and everything is working, not sure what the problem is/was as I have not changed anything else apart of the jquery and ui library versions.
UPDATE END
I having an issue with the JQuery UI datepicker. The datepicker is being attached to a class and that part is working but the datepicker is no...
Is there any way to specify where will the calendar be displayed when the related input gets the focus?
I didn't find a way of doing this in the doc.
Thanks!
...
Hey Guys,
i have a big Problem with jQuery UI Datepicker.
I have two Input Fields "From Date" and "To Date". When i choose a From Date - a Daterange of only 5 Days should appear on the "To Date" Picker.
I used the Code from "Russ Cam" http://stackoverflow.com/questions/330737/jquery-datepicker-2-inputs-textboxes-and-restricting-range
...
Hi,
im trying to add a datepicker to my symfony application and i got it working, but the size of the datepicker is about 3 times bigger than normal (on the demo page). I have not edited any CSS, i just used the default ui lightness theme no modifications.
Does anybody have any idea why the size is blown up so big?
CSS:
http://paste2...
Hi,
When I enable following options
changeMonth: true,
changeYear: true,
clicking on button/input field causes whole or a part of page to clicker. It happens only in FF. Any idea what is going on?
Thanks, Pawel
...
Hi,
I have a jquery datepicker and I need to be able to change the background color for the selected cell date. I'm trying with something like:
$("#fecha").datepicker({
onSelect: function(value, date) {
alert(date.css());
}
});
hoping that the date parameter refers to the selected cell, but...
jqueryui datepicker used with live function click event works fine on an input field clicked twice but does not show the first time i click the input field.
...
Hi all,
I need to make the datepicker show when I click on a link and then send the selected date to a different page through a post call.
T tried to use this code for the link call:
$(".click-on-link").click(function(){
$('#datepicker').datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/y...
See this sample page.
The icon I want to be using is this:
The icon, as shown on the page, looks like this:
How can I make DatePicker use my original icon without modifications?
...
Hi
Hi i am using an date picker on selecting a date the date is displayed in this format
month/date/year ....
How to convert the date to this format year-month-date in date picker js itself
...
I have the jQuery datepicker working, but I need to be able to select more than just dates.
I need to be able to select between some strings as well "Yesterday" and "Today" to be precise. So, the underlying input can contain any date as well as the strings "Yesterday" or "Today".
Is there some way I can do this by tweaking the existing...
I have a textbox on my web page that is used to specify a date, so I'd like to use the jQuery DatePicker. However, most of my users are locked into using IE6 and the performance of the jQuery DatePicker is a little sluggish in this browser.
Can anyone recommend an alternate JavaScript date picker, or any means of improving the display p...
Given this page:
http://jqueryui.com/demos/datepicker/#min-max
And viewing its source:
http://jqueryui.com/themeroller/css/parseTheme.css.php
I can change the following line (using Chrome's inspect element feature) and see those changes reflected:
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(O...
I prefer my datepicker to be formatted with this option
{dateFormat: 'mm-dd-yy'}
Ex: 06-16-2010
But, I would like to allow people to enter in a slash as a seperator instead of a dash if they choose.
Is there a way to setup the datepicker so that it defaults to mm-dd-yy but wouldn't prevent someone from entering mm/dd/yy?
I do know ...
I am using the jQuery Datepicker without any problem for TextBox controls that are non-templated. However, I am unable to get the datepicker to work with a TextBox that is in an EditItemTemplate of a ListView control. My latest attempt is to get a handle on this textbox by CSS class name "DateControl", any ideas?
<asp:ListVIew id="lvTes...
Hi,
Can someone please tell me the correct way to modify the following:
$("#datepicker01").datepicker({
numberOfMonths: 2,
minDate: dd,
maxDate: '+1M +31D',
hideIfNoPrevNext: true,
altField: 'input#chooseDate01',
altFormat: 'DD, d MM yy',
beforeShowDay: noWeekendsOrHolidays
});
I need to add a further 5 to the altFiel...
OK, well, this has got to be something really dumb.
I've got a little JSP app. I want to add a date picker. I downloaded the jQuery UI bundle. If I point chrome at the index.html that it gives me as a demo, all is well. When I move the pieces into my webapp, not so good.
The chrome console shows two things:
Resource interpreted as sc...
Hi All,
the documentation seems simple enough, but in practice, this feature is not working!
I need the date to be in dd/mm/yyyy format.
$(function() {
$("#txt_date").datepicker($.datepicker.regional['en-GB']);
});
Can you help?
Currently the date is outputted as mm/dd/yyyy.
Many thanks
...
Hi,
I would like to use the datepicker with the renderCalendarCallback event and that is working.
Only on changing the month there sould be a refresh of the dates that should be enabled/disabled.
Also on loading the first timethis data should be collected through ajax.
I tried onshow, before show an onChangeMonthYear only they don't see...