Try this:
$("#datepicker").datepicker({
beforeShowDay: function(date) {
return [(date.getDay() > 1), ''];
}
});
On Tue, Aug 11, 2009 at 2:20 PM, ramiro <[email protected]> wrote:
>
> This is exactly what i need, but for sunday & monday. how can i do
> this?
>
>
>
> On Jul 26, 11:35 pm, Ca-Phun Ung <[email protected]> wrote:
> > Try this:
> >
> > $("#datepicker").datepicker({
> > beforeShowDay: $.datepicker.noWeekends
> >
> > });
> > On Fri, Jul 24, 2009 at 10:34 PM, Mazi <[email protected]> wrote:
> >
> > > Hallo all.
> > > I'm wondering as described above if is possible to resctrict the data
> > > range exluding saturdays and sundays.
> >
> > > Kind regards
> >
> > > Massimo
> >
> > --
> > Ca-Phun Ung
> > +http://yelotofu.com
> > + hongkong, zce, jquery, jqueryui, php, css, html
>
> >
>
--
Ca-Phun Ung
+ http://yelotofu.com
+ hongkong, zce, jquery, jqueryui, php, css, html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---