The problem is that when I clear the dates (by deleting the textbox values), th
My way to solve this problem
Change var 'controls' on ui.js
controls = (!inst.inline ? "" + "" : "");
Then add a clearText var
this.regional[""] = { // Default regional settings
closeText: "Done", // Display text for close link
clearText: "Clear", // Display text for close link
prevText: "Prev", // Display text for previous month link
And before show function
$(".i_date").datepicker
(
{
beforeShow: function (input, inst)
{
setTimeout
(
function ()
{
$('.ui-datepicker-clear').bind('click', function() { $(input).val(''); });
},
0
);
}
}
);