I know from their documentation, that there is the ability to use a single input field for a range selection.
How can this be achieved? I have tried the code that was suggested in jQuery UI 1.6 – The User Interface Library for jQuery , but it doesn’t seem to work. Here’s the code I’m trying:
$(function(){
//create config object
var pickerOpts = {
rangeSelect: true,
rangeSeparator: " to "
};
//create the date picker
$("#date").datepicker(pickerOpts);
});
What happens, is, that it just selects ONE date, not allowing for the range selection, I’m looking for.
As previous poster said, rangeSelect option was eliminated. However, the calendar widget whose rangeSelect option JQuery derived from is still available here:
http://keith-wood.name/datepick.html#range