Hi want to get a date list between start date and end date. For example start date is 27-08-2010 and end date is 31-08-2010. So the date list is 27-08-2010,30-08-2010 and 31-08-2010. 29-08-2010 and 30-08-2010 will be ignore because it is in the weekend. I attach the picture for more clearer explanation. How to achieve this using javascript or jquery? I only want to get the list of date, for the business day calculation already done.

First of all, we can disable in the datepickers the holidays and the weekends, for that we’ll be setting it like this in each datepicker component:
Disable weekends and holidays from DatePicker
Now that we have the behavior to not let users select weekends or holidays as startdate or enddates we continue, calculating the total days between those dates:
Calculate Business Dates between two dates
as Find day difference between two dates (excluding weekend days) we have this function to calculate business days between dates:
Count down Holidays
I’m right now in a hurry, what you need to do now is
--iDateDiff(just before the return) for every date indisabledDaysthat is betweendDate1anddDate2.How will you accomplish that?… You will iterate over the
disabledDaysarray and convert/parseit to the Date Object and evaluate like:I hope i’ve helped you…
EDITED:
Sorry, misunderstood the question, try this:
Live DEMO