I have similar problem. (It's need show or hide datapicker)
I've found not good-looking decision but it works
if (itsNeedToDisable) {
if ($(jDisabledInputName)){
$
(jDisabledInputName).datepicker("disable");
$
(jDisabledInputName).datepicker("destroy");
$(jDisabledInputName).get
(0).value = "";
}
} else {
$(jDisabledInputName).datepicker({
beforeShow:
customRange,
showOn: "both",
buttonImage:
"calendar.gif",
buttonImageOnly: true
});
$(jDisabledInputName).datepicker
("enable");
}
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---