title: jQuery datapicker execute function when date has been selected
body: <p>Is it possible to execute a custom function when a date is selected from the jQuery datepicker?</p>
  
  <p>I have tried using the onClose option, but that just seems to execute the function when the page loads for the first time, after that I can change the date as many times as I want and the function does not execute.</p>