Attaching datepicker to an icon for a hidden input field
I need to attach a datepicker to an icon so the datepicker will appear when the icon is clicked. Upon date selection, the selected date should be deposited into a hidden input field.
How do I achieve this?