On 09/03/07, Rey Bango <[EMAIL PROTECTED]> wrote: > Hi Alexandre, > > Yes we're talking about the same plugin but it doesn't go back in time > unless you explicitly set the start date to an earlier date. Thats not > what I'm looking for. I want arrows that can go back and forth between > months. Currently, the plugin will let you go forward from your start date. > > Rey
You could pick a start date and prefill it with today's date: var today = new Date() today = today.getDate() + "/" + (today.getMonth() + 1) + "/" + today.getFullYear() $('selector').datePicker({startDate:'01/01/1900'}).val(today); Now what could make the date picker more useful (plus make it useful for other things as well) is make _strToDate and _dateToStr public methods (i.e. so you could do var today = jQuery.datePicker._dateToStr(new Date()) > > Alexandre Plennevaux wrote: > > Yes it does i use it in one of my app as a form helper to select a UK > > formatted date before mysql insert. One of the options is the startdate, > > which you can set to 1789 if you like.... > > > > If you need help, let me know... > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of Rey Bango > > Sent: vendredi 9 mars 2007 17:53 > > To: jQuery Discussion. > > Subject: [jQuery] Good datepicker > > > > Hey guys, I'm looking for a good JS-based date picker. I wanted to use the > > one in the plugins folder but it doesn't allow for going backwards on the > > calendar. I need to be able to select any date. > > > > Suggestions? > > > > Rey > > -- > > BrightLight Development, LLC. > > 954-775-1111 (o) > > 954-600-2726 (c) > > [EMAIL PROTECTED] > > http://www.iambright.com > > > > _______________________________________________ > > jQuery mailing list > > discuss@jquery.com > > http://jquery.com/discuss/ > > > > -- > BrightLight Development, LLC. > 954-775-1111 (o) > 954-600-2726 (c) > [EMAIL PROTECTED] > http://www.iambright.com > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/