Wonderful, almost worked exaclty as I wanted it to.

 The dates are saved in a database, one field named startDate, and one
endDate

 For example, if the start date is 2009-10-12, and the end date is
2009-10-20, are there a easy way to let the script parse through all
the dates between start date and end date?




On 1 Sep, 22:47, Fontzter <[email protected]> wrote:
> Here ya go:http://jsbin.com/ezomu/edit
>
> If the dates are contiguous, min and max date works best.
>
> Hth,
>
> Dave
>
> On Sep 1, 4:04 pm, Wudang123 <[email protected]> wrote:
>
> > Hi,
>
> >  Working on a booking form, and I want a function to check if dates
> > are available for booking.
> >  Seen some examples, but can´t get it right.
>
> >  I´m looking for a function that check a range of dates(eg, 2009-10-12
> > to 2009-11-10) and then set them available or not.
>
> >  Any suggestions on a function that can do that?
--~--~---------~--~----~------------~-------~--~----~
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