Rob Desbois wrote:
I disagree; in the interest of keeping the plugin small, to do this
outside the class is equally minimal effort and I don't think the plugin
should accept every possible representation. If you always use Date
where String is required, you can overload and wrap the function
A tricky one...or perhaps not.
My feeling is that the datePicker is there to replace not enhance the input
field.
I'm not overly pleased with the blur() method as it breaks tabbing between
fields.
I didn't know that autocomplete could be suppressed (thank you!), but I
think that would be the
Just my opinion: both Date and String should be supported. It's probably
only two lines of code to check for type, and cast to the other type if
necessary.
- Brian
There's a bug or documentation error with dpSetSelected() [revision
#1993] : it's documented as taking a string, but the code
I disagree; in the interest of keeping the plugin small, to do this outside
the class is equally minimal effort and I don't think the plugin should
accept every possible representation. If you always use Date where String is
required, you can overload and wrap the function to perform the
There's a bug or documentation error with dpSetSelected() [revision
#1993] : it's documented as taking a string, but the code for it
requires a Date (due to using .getMonth(), .getFullYear() and
.getTime()).
To fix this problem I added the line d = new Date(d); to the start
of
Rob Desbois wrote:
I've had an issue in Firefox2.0 using the plugin with the 'clickInput'
option turned on.
When the input field has the focus, clicking on it to display the
datePicker will work, but over the top of that will be Firefox's
drop-down box showing previous inputs to that field.
I've had an issue in Firefox2.0 using the plugin with the 'clickInput'
option turned on.
When the input field has the focus, clicking on it to display the datePicker
will work, but over the top of that will be Firefox's drop-down box showing
previous inputs to that field.
The solution I've used
Well, I've finally taken the plunge and started playing with datePicker.
Can I join everyone in thanking you for this excellent plugin.
Suggestions for a few changes, mainly ones which increased the time it took
for me to integrate it into a page without hacking the source:
== Change the
Also, dpSetPosition() has the wrong first sentence too.
There's a bug or documentation error with dpSetSelected() [revision #1993] :
it's documented as taking a string, but the code for it requires a Date (due
to using .getMonth(), .getFullYear() and .getTime()).
To fix this problem I added the
Hello again!
Rob Desbois wrote:
Also, dpSetPosition() has the wrong first sentence too.
Thanks - I'll fix that too.
There's a bug or documentation error with dpSetSelected() [revision
#1993] : it's documented as taking a string, but the code for it
requires a Date (due to using
(I clumsily posted this as a new topic yesterday (http://
groups.google.com/group/jquery-en/browse_thread/thread/
b8471b7990296b12?hl=en); I am reposting it here -- hopefully in the
correct thread -- with advance apologies for the clutter.)
Great work!
An issue I have experienced with both the
On Friday, June 01, 2007 1:11 PM gee said:
E.g., instead of:
Start date: [text input] [.png]
The display appears as:
Start date:
[text input][.png]
I gather it has something to do with using a float in the style
declaration for a.dp-choose-date. Before I wade into experimenting
Is there any particular reason why your plugin doesn't have an option
for specifying time as well as date?
I'd like to use this plugin but need time functionality.
On Apr 24, 7:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
I'd like to announce the beta release of v2 of my datePicker plugin
Hi Kelvin,
The evolution is wondelful!
It's a great and useful plugin. Thanks for your job!
Xavier
On Apr 24, 11:54 am, Kelvin Luck [EMAIL PROTECTED] wrote:
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
pd wrote:
Is there any particular reason why your plugin doesn't have an option
for specifying time as well as date?
I'd like to use this plugin but need time functionality.
Because I'd like to keep the plugin as light weight as possible (it's
already bigger than it should ideally be) and
Kelvin, I thought packer only needed the final ; ... do you know the rules?
is it as simple as making it work if you remove all linefeeds?
On 5/20/07, Kelvin Luck [EMAIL PROTECTED] wrote:
tlphipps wrote:
Sorry, one more thing. I can't get a clean compressed/packed version
of v2. Has
Hi Jake,
I think it needs them in any situation where a linebreak is being used
to indicate the end of an expression (as when the linebreaks are removed
this implicit end of expression is lost). You can see the changes I had
to make to get it to work with packer here:
thanks! I thought semis were just required when removing linebreaks wouldn't
work... I searched the 'net for a definitive rule, I just found the regular
work-arounds, (semis all over).
I'm prepping some code to be packed. Do I have to cat it together with the
jquery-lite first? can I pack a file
Hi,
I've added support for this into the date picker:
http://dev.jquery.com/changeset/1933#file2
As you can see, you can now pass a hoverClass to $().datePicker or
$().renderCalendar which is added to each TD of the calendar as you
hover over it. This defaults to dp-hover. You can also pass
Another issue I've uncovered is related to the :hover effects. In
your original date picker you were obviously using as because the
hover effect worked correctly in IE. However, hovering doesn't work
in v2 because of IE's quirkiness.
Anybody have any input on how to get the :hover effect back
Sorry, one more thing. I can't get a clean compressed/packed version
of v2. Has anybody else had any luck packing this?
On May 8, 6:46 pm, Will [EMAIL PROTECTED] wrote:
Overall, I think the new date picker and jquery are really awesome!
I do have one comment though. I find the date parsing
Thanks Karl. I've come up with code that will do what I need based on
your link, but I can't figure out where it needs to be placed in the
datepicker code in order to fire at the correct time (when the
calendar pops up).
On May 18, 12:38 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
On May 18,
On May 18, 2007, at 1:09 PM, tlphipps wrote:
Anybody have any input on how to get the :hover effect back in IE with
v2?
Not sure about the datePicker v2 in particular, but this blog entry
discusses the the topic in more general terms:
Overall, I think the new date picker and jquery are really awesome!
I do have one comment though. I find the date parsing logic a little
too strict. If I use format mm/dd/ and I type in 5/1/2007, it's
not going to parse correctly (code in date.js:440). This causes the
calendar to not
On Apr 30, 2:34 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
On Mon, April 30, 2007 12:25 pm, Sam Collett wrote:
Several features in that picker that look like they would be handy in
Kelvin's that aren't in yet are:
Keyboard Navigation
I've been thinking about this... It's not a
: Wednesday, May 2, 2007 8:38:21 AM
Subject: [jQuery] Re: datePicker v2 beta
On Apr 30, 2:34 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
On Mon, April 30, 2007 12:25 pm, Sam Collett wrote:
Several features in that picker that look like they would be handy in
Kelvin's that aren't in yet
Kelvin,
Have you been able to make any progress on detecting the edge of the
browser? This is the one thing that has really been problematic for
me.
On May 2, 10:38 am, Sam Collett [EMAIL PROTECTED] wrote:
On Apr 30, 2:34 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
On Mon, April 30,
On Apr 28, 9:39 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Apr 24, 2:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi,
I'd like to announce the beta release of v2 of mydatePickerplugin for
jQuery. This release is a complete rewrite which makes the date picker
considerably more
On Apr 30, 12:25 pm, Sam Collett [EMAIL PROTECTED] wrote:
On Apr 28, 9:39 am, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED] wrote:
On Apr 24, 2:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi,
I'd like to announce the beta release of v2 of mydatePickerplugin for
jQuery. This release is a
On Apr 30, 4:30 pm, Sam Collett [EMAIL PROTECTED] wrote:
On Apr 30, 12:25 pm, Sam Collett [EMAIL PROTECTED] wrote:
On Apr 28, 9:39 am, R.RajeshJebaAnbiah
[EMAIL PROTECTED] wrote:
On Apr 24, 2:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote: Hi,
I'd like to announce the beta release of v2
Hi,
On Mon, April 30, 2007 12:25 pm, Sam Collett wrote:
Several features in that picker that look like they would be handy in
Kelvin's that aren't in yet are:
Keyboard Navigation
I've been thinking about this... It's not a priority for me currently
because I'm not sure that it would be
On Mon, April 30, 2007 12:30 pm, Sam Collett wrote:
Just thought of something else - an onDateChanged event. Could be
useful for date pickers that depend on each other (i.e. a date range,
defined by two pickers - 'picker2' has to be a later date than
'picker1')
I'm guessing you didn't see
On Apr 24, 2:54 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
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
Wow absolutely fantastic!
I played around with the previous version on a travel website I was
developing but found it just wasn't quite right. But this new version
looks awesome.
It works perfectly in IE7 - any news on backwards compatability with
IE6 for example?
Also - how difficult would it
Subject: [jQuery] Re: datePicker v2 beta
On Wed, 25 Apr 2007 13:04:59 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
No, really, I mean clickInput: false. if its true, clicking before the drag
opens the calendar.
but if it's false, i can't drag to delete a date i put there.
Weird! I don't
Kevin,
I just have to say; its fantastic!
On Apr 24, 10:54 am, Kelvin Luck [EMAIL PROTECTED] wrote:
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
Thanks for the feedback Luke...
Is there any way to use the datePicker with the keyboard? I couldn't
figure out how to open it without clicking the calendar icon (which I
couldn't tab to).
I can pop up the calendar with the keyboard (in Firefox 2 and IE 6) - I can tab
to it and then press
Sent: Wednesday, April 25, 2007 3:24:14 AM
Subject: [jQuery] Re: datePicker v2 beta
Long story short, it would be nice to be able to set datePicker in
disabled mode ;-)
In disabled mode, the calendar-icon would get another class and
clicks would not be working. But I guess this is a bit
Looks fantastic, Kelvin! I showed it to our lead engineer who has been
assessing date packages and he said he'd drop his current date package in a
heartbeat for this one IF someone had built a server-side version of it
(.NET). So, if anyone takes on that challenge let me know. I long for the
On Wed, 25 Apr 2007 08:34:06 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
I just added this to my site. Very nice plugin. You should be proud. One
question/request: set the format PER calendar, not globally with Date.
Again, nice work. and thank you for the documentation.
-Ariel
Works flawlessly in Safari 2.0.4 (build 419.3), comparing functionality
and rendering with Firefox 2.
However, there is a possible bug in this demo:
http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerIntoSelects.html
It lets you select invalid dates, such as Feb 31 with the
On Tue, 24 Apr 2007 16:23:29 +0100, Daemach [EMAIL PROTECTED] wrote:
Very cool - I can finally replace xin :) One thing I had to hack into
that code was the ability to trigger an event on the input field
programatically after selecting the date. Can you provide a
: Kelvin Luck [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Wednesday, April 25, 2007 4:31:09 AM
Subject: [jQuery] Re: datePicker v2 beta
On Wed, 25 Apr 2007 08:34:06 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
I just added this to my site. Very nice plugin. You should be proud. One
it appears in IE7 that if you have clickInput: false you cannot drag to
select the text in the input field anymore.
I presume you mean if you have clickInput:true? The simple answer is not to use
clickInput:true if you want people to be able to select the text! To tell the
truth I wouldn't
Kelvin,
I've implemented a new dpSetDisabled feature so that you can disable and
reenable date picker instances. New demo here:
http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerDisabled.h
tml
Just a quick behavioral quirk I noticed. After disabling the field, the
cursor shows
On Wed, 25 Apr 2007 13:04:59 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
No, really, I mean clickInput: false. if its true, clicking before the drag
opens the calendar.
but if it's false, i can't drag to delete a date i put there.
Weird! I don't have IE7 here so I can't test but
you are right. I just like to have customizations like that written right
there in the code where I apply the calendar plugin so future developers will
see it rather than have to hunt for the source of the date format. doesn't
really matter, its up to you.
It won't hurt to reset the date
wow, already implemented after a few hours, that's fast enough for
me ;-)
Thanks for spending your time on this feature, you made my day!
On Apr 25, 12:24 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
Long story short, it would be nice to be able to set datePicker in
disabled mode ;-)
In
On Wed, 25 Apr 2007 13:08:10 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
sorry for 2 emails for one response.
I don't mean Set to today I mean Go To Today in the calendar itself.
see, if I type '123' in the date field, then click the calendar icon to open
the popup, the calendar
On Wed, 25 Apr 2007 14:25:19 +0100, Dan G. Switzer, II [EMAIL PROTECTED]
wrote:
Kelvin,
I've implemented a new dpSetDisabled feature so that you can disable and
reenable date picker instances. New demo here:
http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerDisabled.h
tml
It's a .NET thing. The ASP.NET paradigm is to write your page in a
server-side language (usually C#), and the server-side object gets
rendered into whatever is viewed on the client side.
It would be pretty involved, though, because the plugin is dependent on
jQuery (and bgiframe, and the Date
Thanks for the explanation Citrus. I'm strictly a front-end designer, so I
don't really understand the whole .NET paradigm, or why it needs to be a
server-side control. I've already introduced jQuery and several plugins into
the mix, and the .NET developers love it. I'll try and get a better
It's easy enough to simply code the script tags right into the page.
But, from an engineering standpoint, I can see why the dev manager wants
to keep everything as an ASP.NET control. His people are probably mostly
.NET people who use C# or VB.NET .
- Brian
Thanks for the explanation Citrus.
I would guess this is not going to happen any time soon. There are a
lot of date pickers for ASP.NET already, including one distributed by
Microsoft as part of their Ajax library. They way ASP.NET pages get
converted to HTML when viewed by the user makes it hard to use any
JavaScript library
I only just received this email even though it looks like it was sent
yesterday... Is anyone else still having issues with the list lagging?
Looking good. Lots of examples - although it would be nice to have
some CSS samples as well (or 'style packs' - Outlook 2003, Google
Calendar etc)
I've found some issues in Opera 9:
* Sometimes the calendar doesn't render instantly when browsing fast
through the dates, which makes it close unintentionally. I've fixed it
by setting a fixed hight and width on div#dp-popup in the CSS.
Yes - I was able to replicate this by clicking like
I get an error in Firefox and IE with the latest build. Firebug
output:
(new Date).zeroTime is not a function
setStartDate(undefined)jquery.datePicker... (line 516)
init(Object renderCallback=[0] createButton=true)jquery.datePicker...
(line 498)
(no name)()jquery.datePicker... (line 215)
and used down the
road...FORMAT_1 or FORMAT_2?
- Original Message
From: Kelvin Luck [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Wednesday, April 25, 2007 6:35:45 AM
Subject: [jQuery] Re: datePicker v2 beta
you are right. I just like to have customizations like that written
On Wed, 25 Apr 2007 22:20:16 +0100, Ariel Jakobovits [EMAIL PROTECTED] wrote:
Does the Date.format field get reference within the datepicker function or
does it get copied when the function is run initially.
So...
Date.format = FORMAT_1
jQuery('#1').datepicker();
Date.format =
This is awesome, Kelvin!! Works great in IE7.
Mike
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
looks great - but i think it should have a close button (x), since
clicking on the background to close it isn't quite intuitive
On Apr 24, 11:41 am, Mike Alsup [EMAIL PROTECTED] wrote:
This is awesome, Kelvin!! Works great in IE7.
Mike
I'd like to announce the beta release of v2 of my
Thanks Mike :)
On Tue, 24 Apr 2007 11:41:00 +0100, Mike Alsup [EMAIL PROTECTED] wrote:
This is awesome, Kelvin!! Works great in IE7.
Mike
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
great ! you've thought of everything :)
On Apr 24, 12:02 pm, Kelvin Luck [EMAIL PROTECTED] wrote:
You can create a close button by passing in displayClose:true when you create
the date picker. You can use CSS to style it how you like, I've left it very
simple in my multiple select
Kelvin,
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:
On Tue, 24 Apr 2007 16:53:27 +0100, Shelane [EMAIL PROTECTED] wrote:
Is there a way to allow the user to select a date in the past without
that being the default date shown?
Yes. Simply pass a startDate in when you initialise the date picker or call
dpSetStartDate afterwards. The date
Kelvin, you are my hero.
-g
On Apr 24, 2007, at 12:36 PM, Kelvin Luck wrote:
On Tue, 24 Apr 2007 16:53:27 +0100, Shelane [EMAIL PROTECTED] wrote:
Is there a way to allow the user to select a date in the past without
that being the default date shown?
Yes. Simply pass a startDate in
OK, that's hot.
Thank you for doing such awesome work! I'm totally going to use this all
over the place. :)
- Brian
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
Hi Dan,
* When using clickInput:true, you might want to turn off autocomplete
automatically for the field. When the browser's built-in autocomplete box
gets triggered, it hovers over the data picker. Plus it looks a little
weird.
Thanks for the info. My browser hadn't tried to autocomplete
I wonder if is was possible to display two months , should be
extremely helpfull for travel sites , could it be done easily ?
Great work !
Jamin
On Apr 24, 11:54 am, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
I'd like to announce the beta release of v2 of my datePicker plugin for
jQuery. This
Mike Alsup schrieb:
This is awesome, Kelvin!!
+1
Just in time to make it into plazes probably... :-)
-- Klaus
On Tuesday, April 24, 2007 2:55 AM Kelvin Luck said:
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
On 4/24/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Kelvin,
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
Kelvin Luck wrote:
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:
Kevin, thanks for the fantastic work, almost all my wishes for v1 have
come thru.
I have already implemented v1 in my page which uses google-adwords
style datepickers.
This means, one radio button followed by a select with quick options
like today ,yesterday, this week last month etc.
Below
Kelvin,
The size of the calendar is totally controlled via CSS so yes - you can
configure it with CSS...
cool :o)
The date picker is implemented as a popup but did you see the renderCalendar
examples? These allow you to draw a calendar table into any element in your
document.
I'll have
Kelvin Luck wrote:
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:
On Tue, 24 Apr 2007 14:56:41 +0100, Diego A. [EMAIL PROTECTED] wrote:
I'd just come across a scenario where events would have made
datePicker more flexible and was thinking of passing the idea to you.
http://groups.google.com/group/jquery-en/browse_frm/thread/8993bb17785c6d3b?hl=en
There's
Kelvin,
* When using clickInput:true, you might want to turn off autocomplete
automatically for the field. When the browser's built-in autocomplete box
gets triggered, it hovers over the data picker. Plus it looks a little
weird.
Thanks for the info. My browser hadn't tried to autocomplete
It's a clean 10 out of 10 from me.
Yeah sure !! This is an excellent plugin !
Maybe adding ESC key mapping in order to close would be a plus.
Great work! All the demos work in Safari.
--
Brandon Aaron
On 4/24/07, Kelvin Luck [EMAIL PROTECTED] wrote:
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
Kelvin Luck wrote:
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:
Looks fantastic, Kelvin! I showed it to our lead engineer who has been
assessing date packages and he said he'd drop his current date package in a
heartbeat for this one IF someone had built a server-side version of it
(.NET). So, if anyone takes on that challenge let me know. I long for the
day
Very cool - I can finally replace xin :) One thing I had to hack into
that code was the ability to trigger an event on the input field
programatically after selecting the date. Can you provide a
triggerEvent(keyup|focus|change) parameter that will trigger the
specified event in the attached
Thanks
i desenvolv datagrid +-
http://extjs.com/deploy/ext/docs/
Inline editing - 2 cliques in date visibled datepiker
I you trying to make one grid using its to datepiker
thanks
On 24 abr, 06:54, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
I'd like to announce the beta release of v2 of my
84 matches
Mail list logo