Hi,
I think you want to write a handler for the event 'beforeShowDay'.
From the documentation:
beforeShowDay
function(date)
The function takes a date as a parameter and must return an array with
[0] equal to true/false indicating whether or not this date is
selectable, [1] equal to a CSS
Oh, here's the link to the doc:
http://jqueryui.com/demos/datepicker/#event-beforeShowDay
On Dec 18, 3:13 pm, Mauricio Vargas pixelcriat...@gmail.com wrote:
Hi,
I'm using the Datepicker that comes with the jQuery UI.
I would like to keep some dates, in this calendar, checked.
I'm bringing
Hi,
I'm using the Datepicker that comes with the jQuery UI.
I would like to keep some dates, in this calendar, checked.
I'm bringing some dates in the format 12-31-2009 from my mySql, and i would
like to put those dates in the datepicker, and show them selected.
Do someone knows how to do this?
Hi,
I explain my problem:
I have a datepicker UI, and when i click on a day,
I have to refresh the datepicker when I click outside it.
onSelect: function(date,inst)
{
...
alert('A');
Ok this is strange.
When I first time load the page using two datepickers, there seems to
be some invisible elements (datepicker layres?) at the bottom of the
page, so that scrollbar appears.
Whenever I use the datepicker, and it hides, the scrollbar vanishes
and the invisibile elements hide
Ok this is strange.
When I first time load the page using two datepickers, there seems to
be some invisible elements (datepicker layres?) at the bottom of the
page, so that scrollbar appears.
Whenever I use the datepicker, and it hides, the scrollbar vanishes
and the invisibile elements hide
I searched all IE7 FAQs and tips but I could not find the solution.
Basically the Datepicker doesn't work at all in IE7. It does not
appear and most disturbing, IE7 doesn't show any Javascript error.
Works just fine in FF3.
My code is:
script type=text/javascript
$(function() {
it, and in my opinion it looks
very ugly) now I want it to be replaced with the JQuery UI Datepicker.
How can that be implemented? I think my main problem is updating the
values of the pulldown menu ounce the user have choosen a date from
the Jquery datepicker.
Thanks You!
hello,
Is it possible to assign some unique id-s when using multiple
instances of a datepicker (DP) on a page?
currently i'm tinkering with this timepicker (TP) (
http://milesich.com/timepicker/
) because i desperately need a TP, but without DP.
so far i managed to make only the TP appear,
Hi there
I have a problem with the date picker and was wondering if something
had already been developed to sort it out, or whether I would need to
do one myself.
With a datepicker in the webapp we are developing, we want to allow
users to view data based on past dates (ie anything from an old
Has anyone ever used the datepicker to add event from a
database to a calendar ??? trying to connect to the
database from the datepicker has been taking alot of my
time . Please , i need help.
my major problem is this : I have the datepicker calendar
working quite well on the web page [using something like
this ... $(function()$('#datepicker').datepicker({
changemonth:true, changeYear: true
}); ) ], but i want to add more functionalities to the
calendar ,
I can give you some ideas perhaps, I am assuming you know which dates you
want to be marked.
See and try to understand the HTML that the datepicker generates for the
calendar.
Then try and add css attributes to these dates with which you can indicate
them as marked, along with that you could also
I am using the jQuery datepicker. When the user selects an item in a
drop down list box the selectable dates in the calender in the
datepicker get updated with all selectable dates associated with the
selected drop down list item. The dates seem to update fine except
for the very last one
Hello - I've recently started using both the newest DatePicker and
Thickbox. I'm having a problem getting the datepicker to appear in
my thickbox (I'm using the ajax thickbox). Unfortunately I can't give
the actual site since it's for an intranet site at work. If I look at
the page itself,
Hey everyone. I'm new to jQuery development and I'm trying to do
something with the date picker.
See, I wanted to use this particular date picker on this site :
http://razum.si/jQuery-calendar/TimeCalendar.html
because it also implements time.
When viewing his page source, and then viewing the
hi i am getting this error when i was trying to use the jquery
datepicker widget.Can you please help me to solve this issue?
I use datepicker UI.
Is it possible to be selected multiple events, dates taken from a
mysql with PHP?
can you give me links to similar developments
(Cross-posted from the jQuery UI group, as my post is not showing up
over there. Hope it shows here.)
Hello all,
When viewing the page in 1024x768 resolution, the jquery UI datepicker
is covering the text input to which it is attached. This input is
near the bottom of the page when viewing at
On the UI website under the datepicker display button bar option it
says
Each button is enabled by default when the bar is displayed, but can
be turned off with additional options. Button text is customizable.
I can't find anywhere that states how to turn off buttons or customize
the text.
Hi!
Iam using JQuery DatePicker Plugin , created by Kelvin Luck (http://
www.kelvinluck.com/).
Plugins default format is d/m/Y. Can someone guide me how to change
its default format to US Date format (m/d/Y).
Thanks in advance
Set in options:
dateFormat: mm dd yy
Maurício
-Mensagem Original-
De: Bluesapphire
Para: jQuery (English)
Enviada em: sexta-feira, 5 de junho de 2009 12:04
Assunto: [jQuery] JQuery DatePicker Plugin
Hi!
Iam using JQuery DatePicker Plugin , created by Kelvin Luck
I fixed it. Not difficult, just put altField method (with #second
field id) in the first field. (http://keith-wood.name/
datepickRef.html?#altField)
I wanna know how can I automatically change the second input field to
get a end date after I selected the first field and get a start date.
I need keep the second input field' value same change as the first
one. Like the calendar application from booking.com or tripadvisor...
Many thanks
What I mean how to make the date picker combined together and
propogate date changes from one to another (like this
http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/inlineDatePickerCascade.html#
). Or to improve it so that they changes themselves each other
Many thanks
By default the previous dates are disabled. How can i set it so that
all the dates are available in the date picker.
guys
I have 2 datepickers 1)arrivalDate 2)DepartDate
The mindate of Depart must be the mindate of ArrivalDate
I'm able to get the arrival date but
I'm unable to set that in depart mindate attribute
//arrivaldate.value=14/04/2009//which is erroneous when set to depart
date
Hi,
Is there a way to highlight or enable for selection individual days
( not a range of days ) in a datepicker?
Thanks in advance,
Danny
Hey guys,
Using datepicker in a field, it requires 2 tab taps to go to the next
field, since:
- when you enter in the field, the datepicker shows up
- when you tap the first tab the datepicker hides.
- when you tab tab the second time, only then the focus goes to the next
field.
Is there
Hello,
I need to show a calendar in my web app. The application has a
database that has a table of with a list of dates for when events have
happened in the past. When the calendar is displayed it needs to show
these existing dates in the date event table using a different color.
Is there a
, MorningZ morni...@gmail.com wrote:
Looking at the Configuration tab, you can set the value
date:minDate and that should do the trick
On Mar 8, 7:14 pm, Javier Guerrero demix...@gmail.com wrote:
Hi,
I'm using *jQuery Datepicker *http://keith-wood.name/datepick.html
but, I can't show more
Hi,
I'm using *jQuery Datepicker *
http://keith-wood.name/datepick.html
but, I can't show more years before 1999.
please, somebody can help me?
Saludos
Looking at the Configuration tab, you can set the value
date:minDate and that should do the trick
On Mar 8, 7:14 pm, Javier Guerrero demix...@gmail.com wrote:
Hi,
I'm using *jQuery Datepicker *http://keith-wood.name/datepick.html
but, I can't show more years before 1999.
please
Hi all,
I am using the jquery datepicker with the 'buttonImage'. What I am
trying to do is just when the mouse is over the image, to change it to
a hand rather than a pointer. Any ideas anyone? Thanks in advanced!
Hello every one
Can some one help me setting the datepicker plugin with the following
options
min date =today
date format =-mm-dd
thanks
Hi,
I have a Datepicker UI linked to a textbox using the following code:
$(document).ready(function(){
txtDOB = $(input[name=txtDOB]);
txtDOB.datepicker();
});
Screenshot of the Textbox: http://arch.kimag.es/share/85588260.jpg
When I click on the textbox, the calendar opens at
I'm struggling to figure out why DatePicker is not working for me. I'm
including the following files (and they're all loading fine). Is there
yet another file required?
ui.core.css
ui.theme.css
ui.datepicker.css
jquery-1.3.1.min.js
jquery-ui-1.6rc5.min.js
jquery-ui-datepicker-1.6rc5.min.js
Hi there all,
I am using the latest version of jQuery-UI and in particular the
datepicker. On the one site everything is perfect but now, using on
another site, the datepicker opens up offset about 30px above the input
field.
I can interact with it and it does fill the correct field if a
For some reason I am dying trying to get a datepicker setup with some
decent CSS.
Functionally, my datepicker is fine...it's just lacking the
presentation the demonstrations always seem to have.
I use the theme roller to download any of the gallery ones and then
include the ui.datepicker.css in
I've been having this problem trying to get my CSS to show up for the
datepicker widget using JQuery UI. As far as functionality goes the
datpicker works yet I can't get the CSS to show up. I'm using
themeroller to style the the datepicker and using the following style
sheets.
uicore.css
$('.Datepicker1').datepicker({beforeShow: customRange,
rangeSelect: true, numberOfMonths: 2});
function customRange(input) {
return {
minDate: (input.id == startDatepicker ? $
(#endDatepicker).datepick(getDate) : null),
maxDate: (input.id ==
Hi,
This setDate is driving me mad ! I can't set the date of the controls
programatically.
//create range datepickers
$(#start , #end).datepicker({
showOn: button,
buttonImage: images/calendar.gif,
buttonImageOnly: true,
beforeShow: customRange,
hideIfNoPrevNext: true,
Hi,
I can't find the option of datepicker that could highlight the current
day when i open a calendar.
Any idea ?
thanks in advance,
regards,
f.
Hello,
I've weird thing with datepicker, my dates are offset by one day (13
november 2008 is friday), when checking where the inconsistency come,
I've find that 26 october is occuring twice.
Here is how I instanciate datepicker :
$('myselector').datepicker({dateFormat:'dd/mm/yy'});
Does the
I'm having trouble overriding the default z-index for the datepicker.
Here's the code I have (minus some stuff that doesn't apply to this issue):
$(#datefield).datepicker({
beforeShow: function()
{
$(this).css(position, absolute);
$(this).css(z-index,
Hello folks,
I'm struggling with datePicker when I need to load it within a RJS
file.
Basically I have a drop-down menu and according to the selected value
I display some form fields (rendering a partial for selected value
within a RJS file); one of those has to be the datepicker but I can't
Hi,
#StartDate and #EndDate are my two input fields that I've converted to
datePickers.
Now if I call setDate to change the range to the past week like that :
$(#fStartDate, #fEndDate).datepicker(setDate, -1w, null);
Both input are set to 13th of October (today is 20th). I'd expect
#EndDate
Does anybody know how to select multiple dates with the JQuery UI
datepicker, like this:
1. User Clicks text field. Datepicker calendar appears.
2. User Clicks on one or more dates (calendar remains open). As user
clicks dates, a text area is populated with the choices.
how do i get datepicker to display 5 days previous from date selected?
bascially date range but i don't want to set it for being between
specific dates. the fuctionality i'm looking for is user selects today
date...date picker shows today's date and 4/5 days prior--i need to be
able to retrieve
hi,
how do i correctly choose a default date using the datepicker. i am
using v3.4.3. datepicker/
i can get the date picker working with the default date of today like this
$('#date').datepicker();
where date is an input text field with id date.
but if i do this
Does anyone know if there is a way to convert datepicker's generated
date range string back to a suitable date format I can use to provide
values for minDate and maxDate?
Thanks!
I just launched my first jquery site the other day, and I'm trying to
make it so that selects a date from the datepicker, a div on the page
gets updated with the selected date.
Datepicker is launched from within a superfish menu
However am having two problems.
1) when I use the code below, i
Hello,
Is there a way to make the datepicker select future dates?
Is there a way to make the datepicker select specific days (ex.
Sundays and Wednesdays only) ?
Thanks
Hi :)
I'm trying to use the great jquery UI datePicker, incredible piece of
software, nothing to say.
only problem is that if I put
numberOfMonths: 2
in the options, it doesn't seem to render it correctly.
the two months are not displayed on the same line, but the second is
under the first, and
Hi,
Does anyone know how to make the Datepicker (calendar) be displayed by
clicking on a link next to a textfield. I know it has a button option
and a focus option, but our old calendar used to be launched by a
link, so users are used to that. Does anyone know how to do that?
Thanks,
-Roman
Hello,
I am facing an issue with interface where only version 1.02 of jquery works.
I managed to make all other scripts work with that, except datepicker. The
problem I am having with date picker and 1.02, once it opens, all functions are
available, it inserts dates, you can navigate the months
I have a couple of forms that require both an autocomplete field, and a
date picker field. I'm using the ui.datepicker and Jorn's autocomplete.
The problem is that Jorn's autocomplete requires the dimensions plugin.
When the dimensions plug in is in place, the datepicker is getting
given
Hi,
I just came across a hard to find bug in Opera 9.23 (Win), that made
the datepicker not work properly. In short, Opera failed on number-
only keys in objects, even if you convert the number to a string*.
Thus I made some changes to use the date as a string itself, which
worked properly with
hey. i using datepicker and i want somehow to define to this script that he
will add diffrent background to some block of a day
all the days are RED background
07/07/2007 - GREEN BACKGROUND
like to mark a specipic date for hollyday or somthing else... i did
Hi all.
Right now the default behaviour of Kevin's datepicker,
http://kelvinluck.com/assets/jquery/datePicker/v2/demo/, is to show the
dates from the previous/next month as well as the dates from the current
month.
What would be the easy way to make the datepicker show the dates from
Hello,
I am looking into using the super awesome datePicker
v2 plug-in by Kelvin Luck, for an app that needs to be able to
select a range from the past to the present. I am not clear on what the
easiest way to do this is. Any advice is much appreciated.
Thanks,
Marshall
on how to have my picker and see it, too, would be most
appreciated. Samples of working code would be even better. :-) Thanks.
[1] http://kelvinluck.com/assets/jquery/datePicker/v2/demo
[2]
http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerMultiple.html
[3] http://kelvinluck.com
Hello all,
Current Issue
I currently have a form that offers users a date picker to select
multiple dates. Currently the text field will only update it's self to
show the last date selected.
Does anyon know how I can take the array of
Glad to have the new version of jQuery out, the speed improvements are
really nice.
I'm trying it out with the datePicker plugin and it seems fine.
I'm having trouble getting the datePicker to work with the linked select
elements example. I'm trying to make it loop through the document
looking
Hello,
I can't figure out why the calendar icon is moving below the input field
it is attached to. It used to work fine in v1 but now that I've
upgraded* to v2 I can't get it to appear to the right of the input
field.
I'm working on an internal project that I don't want to post the URL of
but
Hello,
I'm trying to implement datePicker v2 but Firebug says
$('#date').setStartDate is not a function. I must be missing something
simple because I can click calendar and have the calendar appear. So
it works, just not completely. Any ideas where I'm going wrong?
Relevant code is at the end.
Hi,
I'd like to announce the beta release of v2 of my datePicker plugin for jQuery.
This release is a complete rewrite which makes the date picker considerably
more powerful and flexible than it previously was. Check out the temporary
project page:
http://kelvinluck.com/assets/jquery
67 matches
Mail list logo