datePicker 1.6rc5
datePicker 1.6rc5
I need some help,
Im using the following code:
$j("#datepicker").datepicker(
{
createButton: false,
displayClose: true,
closeOnSelect: false,
selectMultiple: true
}
)
.bind(
'click',
function() {
$(this).dpDisplay();
this.blur();
return false;
}
)
.bind(
'dateSelected',
function(e, selectedDate, $td, state) {
alert('You ' + (state ? '' : 'un') // wrap
+ 'selected ' + selectedDate);
}
)
.bind(
'dpClosed',
function(e, selectedDates) {
alert('You closed the date picker and the ' // wrap
+ 'currently selected dates are:' + selectedDates);
}
);
//////////////////////////////////
this code is essentially a copy/paste from the multiselect demo on
Luck's
site (note the case change datepicker != datePicker).
after looking at the source for ui.datepicker.js, it looks like nearly
all
the old options are missing (like selectMultiple). Also functions like
dpDisplay() are non existent from the plugin.
Whats going on in 1.6rc5??? Can you point me to a version of the
plugin
that has a multiselect? Why is the new version seemingly missing
almost all
functionality of the older versions? Is there any way I can get this
code
to work with the latest version?
Please let me know. (Im using jquery 1.3.1 if it matters)
Thanks in advance,
Tim W.