I need to be able to grab the selected date from the datepicker and populate another textbox with the selected value. I am currently using the onClose function like this:
$('#defaultDate').datepicker({
onClose:function(theDate) {
$('#txtEntry1').text = theDate
}
});