Is it possible to enable jquery UI (datepicker) to enable multi select and unselect ?
example of datepicker i am using. http://jqueryui.com/datepicker/
i have got a requirement as to enable a datepicker to select multiple dates and i am wondering how to implement a similar one.
Your prompt reply is greatly appreciated.
Please give me some examples
Thanks
解决方案
Multidatespickr is a little plugin that enables jQuery UI calendar to manage multiple dates.
Features:
Select date ranges.
Pick multiple dates not in secuence.
Define a maximum number of pickable dates.
Define a range X days from where it is possible to select Y dates.
Define unavailable dates.
HTML:
JS:
$(document).ready(function(){
$('#datePick').multiDatesPicker();
});
OR
jQuery(document).ready(function(){
jQuery('#datePick').multiDatesPicker();
});
Check this JSFiddle.