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;
}
});
There’s an easier way to do it. Use the built-in alt-field option and you’re done.