Multiple-Dates-Picker-for-jQuery-UI icon indicating copy to clipboard operation
Multiple-Dates-Picker-for-jQuery-UI copied to clipboard

How to Find total no. of days selected

Open niks1020 opened this issue 10 years ago • 1 comments

I have a problem, I am new to this so please help me or If possible give me the code to get the total number of dates selected in the simplest usage example.

niks1020 avatar Sep 18 '15 17:09 niks1020

When you use

var dates = $('#full-year').multiDatesPicker('getDates');

you got an array with the dates, use dates.length for take the total number.

frosamga avatar Oct 04 '16 08:10 frosamga