Showing datepicker when clicking span/div
I've been able to get the datepicker working when:
1. It's attached to an input element (datapicker pops up when input
gets focus)
2. Datepicker is attached to a span (datepicker is always visibile)
I'm wondering if there is a way to associate a datepicker with a span
or link element and only have the datepicker show when the element is
clicked, i.e.
Avg clicks since <span>June 14, 2009</span>
So, in this example, the calendar would be hidden until the span
element is clicked. When the span is clicked, the calendar displays.
Any advice would be welcome. Thx.