Do you mean this demo?
http://ui.jquery.com/demos/datepicker#buttonbar
This is accomplished by
$('#datepicker').datepicker({
showButtonPanel: true
});
- Richard
On Thu, Jan 15, 2009 at 5:03 PM, bryce4president <[email protected]>wrote:
>
> I have a really simple date picker example. I've tried this with
> jquery's latest and with the 1.3 and I'm using UI 1.6.
>
>
> I just created the UI code on monday so its fresh.
>
> The date pickers pop up just fine but there isn't a 'close' or 'clear'
> text like in the demo.
>
> $('#date1').datepicker();
> $('#date2').datepicker({beforeShow: function(){
> return{ minDate:
> $('#date1').datepicker("getDate")};
> },
> changeYear:true,
> yearRange: '-10:+20',
> closeAtTop:true,
> clearText:'Clear'
> });
>
> I realize that the closeAtTop isn't neccessary as it's supposed to
> default to 'true' but it didn't work without it so I thought I would
> put it in but to no avail.
>
> Any help would be 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
-~----------~----~----~----~------~----~------~--~---