On Mon, Jun 22, 2009 at 7:13 PM, [email protected] <
[email protected]> wrote:

>
> I had this problem too. The documentation is confusing, possibly wrong
> I think.
>
> The docs say:
>
> $("#DateFrom").datepicker({ altFormat: 'yy-mm-dd' });
>
> But this works:
>
> $("#DateFrom").datepicker({ dateFormat: 'yy-mm-dd' });
>
>
These two options are different, altFormat sets the displayed format of the
alternative input box. You shosuld use altFormat in conjunction with
altField. Here's a demo:

http://jqueryui.com/demos/datepicker/#alt-field

--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to