jQuery UI Tabs failing on dynamic creation

jQuery UI Tabs failing on dynamic creation

I am using jQuery UI Tabs in 3 separate places of a web page.  The second tab bar needs to be different, depending on what is selected (in an input radio), and then have the tabs working.  When I create the replacement tab bar, I call .tabs() on the new bar, but it does not seem to generate tabs.  I also tried using .tabs('destroy'); on the main tab bar and its individual tabs.  

When I click on a tab, I see an error with Firebug that says, " uncaught exception: jQuery UI Tabs: Mismatching fragment identifier."  I've looked at my code, and all identifiers are in place.  

A possible solution could be generating the tabs differently (like through JavaScript instead of through PHP and JSON).  The tabs are mostly the same, but some selections have more tabs than others.

The tab content is generated through a JSON call to a PHP file.  The content seems fine, but the second tab bar needs help.  Any ideas?

I've asked in #jquery on freenode, but no one responded.  I've searched the Internet, but have not found examples or solutions.