What type is inst? - Richard
On Thu, Dec 17, 2009 at 8:53 AM, <[email protected]<vindex%[email protected]> > wrote: > Hi, > > I have start_date and end_date DatePickers. When selecting a start_date > I'd like end_date to be initialized to the same as start_date. So I > added this event handler to start_date: > > onClose: function(dateText, inst) { > $("#end_date").datepicker('option', 'defaultDate', > $("#start_date").datepicker('getDate')); > } > > which works. But how could I use the passed 'inst' object instead of > $("#start_date) ? > > Thanks, > > -- > > 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]<jquery-ui%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. > > > -- 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.
