[jQuery] UI Tabs, UI Datepicker, ajax...

[jQuery] UI Tabs, UI Datepicker, ajax...


using jQuery 1.3 and jQuery UI 1.6r5
I've got some ajax tabs.
//initialize tabs
        $("ul.tabs-nav").tabs(
            defaults = {
                 navClass: 'tabs-nav',
                 selectedClass: 'tabs-selected',
                 unselectClass: 'tabs-unselect',
                 disabledClass: 'tabs-disabled',
                 panelClass: 'tabs-panel',
                 hideClass: 'tabs-hide',
                 loadingClass: 'tabs-loading'
            }
        );
Some of the tab contents contain UI Datepicker enabled textboxes.
//initialize datepicker
            $('input.datepicker').datepicker({
                hideIfNoPrevNext: true,
                dateFormat: "M d, yy",
             showOn: "both",
             buttonImage: "../assets/images/brand/icons/icon_calendar.gif",
             buttonImageOnly: true
            });
When the content loads, the Datepicker needs to be re-initialized...
but I can't quite figure this out. The UI Tabs documentation and API
seems to have changed from the old jquery.tabs plugin... or maybe it's
me :-(
help?