i don't think the documentation is wrong it is just not that obvious. seeing as this is clearly catching people out perhaps a Nota Bene should be added to the altFormat section.
rob ganly On Jun 22, 3:14 pm, Ca-Phun Ung <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
