hi, kindly help me ,i have 2 datepickers and set min date and max date ,it works fine ,
now when one of them make error ex. out of range then the date input take the error style ,that's great
but when clear the the dates by clicking a clear button the error style still appear ,
if i removed it by jquery ,it's appear again on mouse over event ,
how to clear date picker event it takes error style ?
i used the following function and it's work fine but with IE the popup calender still appear .why ?????
now when one of them make error ex. out of range then the date input take the error style ,that's great
but when clear the the dates by clicking a clear button the error style still appear ,
if i removed it by jquery ,it's appear again on mouse over event ,
how to clear date picker event it takes error style ?
i used the following function and it's work fine but with IE the popup calender still appear .why ?????
//clear Add Holding Event Inputs function fnClearHoldingEventInputs(sender, args) { rdpEventStartDate.set_maxDate(maxDate); rdpEventEndDate.set_minDate(minDate); rdpEventStartDate.clear(); rdpEventStartDate.get_dateInput().clear(); rdpEventEndDate.clear(); rdpEventEndDate.get_dateInput().clear(); $('.riTextBox').val(''); //to remove error class from raddatepicker UI bug $('.riError').removeClass('riError'); rdpEventStartDate.set_showPopupOnFocus(false); rdpEventEndDate.set_showPopupOnFocus(false); rdpEventStartDate.get_dateInput().focus(); rdpEventEndDate.get_dateInput().focus(); rdpEventStartDate.hidePopup(); rdpEventEndDate.hidePopup(); rdpEventStartDate.set_showPopupOnFocus(true); rdpEventEndDate.set_showPopupOnFocus(true);}