Muchas gracias, Aaron! I didn't think to click that 'options' tab. Thanks - I'll work on this some more.
On Jan 28, 5:02 pm, Brandon Aaron <[email protected]> wrote: > On Jan 28, 4:41 pm, tonywhite <[email protected]> wrote: > > > 1. How do I set the departure date to auto-fill to be one day after > > the arrival date (once the arrival date is chosen)? > > You'll want to use the onSelect callback to set the date of the other > input. > > > 2. How do I make the 'minDate' of departure be the day after the > > chosen arrival date? > > You'll want to use the beforeShow callback to set the min date. > > > 3. Can I set the calendar to open with both the icon _and_ when focus > > is put on the corresponding field, or does it have to be one or the > > other? > > set the 'showOn' option to 'both'. showOn: 'both' > > You can find the docs and examples for these settings > here:http://docs.jquery.com/UI/Datepicker/datepicker#options Click on the > 'options' tab to see all the different options (there are lots of > them!). > > -- > Brandon Aaron > > On Jan 28, 4:41 pm, tonywhite <[email protected]> wrote: > > > I'm wanting to implement datepicker on my company's site. We're > > currently using YUI calendar, and I'm needing to replicate the > > behavior that it currently does. > > > I'm a bit new to this, but hear its very robust, so hopefully I can > > pick this up fairly quickly once I see how a couple of my scenarios > > are approached. It involves the relationship between two date fields, > > an 'arrival' and a 'departure'. > > > I have set up a sample page here and below are my questions. > > >http://askthecssguy.com/help/datepicker/arrivalDeparture.html > > > 1. How do I set the departure date to auto-fill to be one day after > > the arrival date (once the arrival date is chosen)? > > 2. How do I make the 'minDate' of departure be the day after the > > chosen arrival date? > > 3. Can I set the calendar to open with both the icon _and_ when focus > > is put on the corresponding field, or does it have to be one or the > > other? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
