I have a form where below it are previous entries with dates. There is an edit button that populates the fields for the item being edited. this is
done using ajax so the page does not have to refresh.
How do I make the calendar reflect the date that is being edited when I click on the edit button?