$("#datepicker").datepicker({
  onSelect: function(dateText) {
    alert("Parse dateText into your variables. dateText = " +
dateText);
  }
});

Hth,

Dave


On May 22, 10:38 am, melat0nin <[email protected]> wrote:
> Hi all
>
> I'm trying to integrate datepicker into an existing javascript which
> has six fields - a day, month and year field for From and To.  The
> vars are startday, startmonth, startyear and endday, endmonth and
> endyear.
>
> I'd like Datepicker to split its date into three to populate the three
> fields.  I've used the altField option but I seem to be able only to
> populate one alternative field.
>
> Is this possible?  Any help would be much appreciated! :)
--~--~---------~--~----~------------~-------~--~----~
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