I have a problem with my jquery UI tabs currently only in Firefox 3.6.24 where the first tab will not be loaded. It is driving me insane because the xhr says that it has the html data.
jQuery v1.4.4 jQuery v1.8.18
wondering if there are some known issues around this and any fixes
$(function() {
$("#tabs").tabs({
'cookie': {
'expires': 1
},
'ajaxOptions': {
'error': function( xhr, status, index, anchor ) {
$( anchor.hash ).html(
"Couldn't load this tab. We'll try to fix this as soon as possible.");
}
},
'spinner':"Loading..."
});
});
=====HTML=====
<div id="tabs">
<ul class="nav nav-tabs">
<li><a href="/url/1">First tab</a></li>
<li><a href="/url/2">Second tab</a></li>
<li><a href="/url/3">Third tab</a></li>
<li><a href="/url/4">Fourth tab</a></li>
</ul>
</div>
=====UPDATE=======
The problem was in the HTML the form element was being opened inside of a table and the form close tag was outside the close table tag. Lesson learned always validate your HTML.