var dateFromDbFormattedAccordingly;
$("#IdOfTheInputBoxThatHasTheDatepicker").val
(dateFromDbFormattedAccordingly);
That should be all there is to it.
Hth,
Dave
On Nov 8, 8:57 pm, Sunny Beach <[email protected]> wrote:
> I am using the datepicker in a Rails application and it works fine to
> create a record. Is there a way to have the datepicker text box
> populate with the saved value pulled from the database?
>
> I can easily retrieve and format the date correctly... just can't get
> it in the box.
>
> Thanks,
> Sunny
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=.