What\'s the object type returned by Datepicker? Supposing I have the following:
$(\"#txtbox\").datepicker({
onClose: function(date){
//something
I just downloaded the source from here and noticed (ex line 600) the author is using .getTime() to compare dates, have you tried that?
if (oDate.getTime() > date.getTime()) {
...
}
Also this is tangential but you mention you tried oDate.toString() while I noticed in the examples the author is using .asString()