[jQuery] Re: Newbie Datepicker Question

2009-07-19 Thread gfranklin
Yes I agree with James. You should set the value from the database to match the format exactly as the datepicker needs it to be. If you are using PHP here is a cheat sheet: http://php-date.com/ g On Jul 17, 10:23 pm, James james.gp@gmail.com wrote: That was just an example. You should try

[jQuery] Re: Newbie Datepicker Question

2009-07-17 Thread James
Is the initial value in the textbox in the same format the datepicker would put into the textbox if a date was selected? (e.g. 4/03/2010, and not 4/03/2010) On Jul 17, 8:30 am, sankofa ssank...@gmail.com wrote: I have succesfully applied the datepicker to a blank textbox. However, when I

[jQuery] Re: Newbie Datepicker Question

2009-07-17 Thread James
Sorry, that should've been: (e.g. 4/03/2010, and not 04/03/2010) On Jul 17, 9:16 am, James james.gp@gmail.com wrote: Is the initial value in the textbox in the same format the datepicker would put into the textbox if a date was selected? (e.g. 4/03/2010, and not 4/03/2010) On Jul 17,

[jQuery] Re: Newbie Datepicker Question

2009-07-17 Thread sankofa
The initial value is not the same. It is coming from the database as a timestamp with the time date. There is no leading zero before the month.

[jQuery] Re: Newbie Datepicker Question

2009-07-17 Thread James
That was just an example. You should try to make it the same then. Use your server-side script that gets the date from the database to format the date before you output it so it's the same as what datepicker uses (or whatever you set it). On Jul 17, 9:50 am, sankofa ssank...@gmail.com wrote: