I need to remove the selected date from Datepicker and fill in another text box with the selected value. I am currently using the function onCloseas follows:
$('#defaultDate').datepicker({
onClose:function(theDate) {
$('#txtEntry1').text = theDate;
}
});
source
share