Calendar on Tab works first time only
- Goal: hook a Calendar widget onto some AJAX driven content on a Tab.
Current design: after 'contentReady', build DIV element with id and
insert in dynamic content where the Calendar constructor will hook it.
Issue: Works fine the first time Tab is clicked. If switch to another
Tab and back, Calendar is lost from DOM and will not render. What am I
missing? So far Firebug has not helped explain this.
Should the first Calendar be manually removed from DOM at
Can a permanent Calendar be constructed in a different part of DOM
which is appended to Tab content after 'contentReady' then removed at
What is the best practice?