I am using the latest jQuery Tabs, and all of my tabs (and other content above them) are within a containing Div. There is a form in one of the tabs, and when the form is submitted, it is processed via AJAX, and then the returned HTML replaces the entire containing Div. This returning HTML includes the tabs again.
After the HTML is replaced, I rebind the jQuery functionality to the list:
$('#tabs').tabs( { fx: { opacity: 'toggle' } } );
Having read other questions, I am using class="ui-tabs"
on the UL and class="ui-tabs-hide"
on the LI, to hide everything before it's formatted.
In IE8, and Chrome this is working fine. However in Firefox, the unformatted list is showing briefly between the HTML refresh and the tabs being formatted (it does very briefly on the first load too).
Any ideas how to avoid this please?