<div id="tabs" >
<ul>
<li><s:a value="%{birDetailsUrl}" >BIR Edit</s:a></li>
<li><s:a value="%{standardTemplateUrl}">Standard Template</s:a></li>
</ul>
</div>
Here's the JS (almost verbatim from the documentation).
$("#tabs").tabs({
ajaxOptions: {
error: function(xhr, status, index, anchor) {
$(anchor.hash).html("Error loading tab");
}
}
});
I've recreated the error in both Safari and Firefox (on a Mac - OS X). Any help will be greatly appreciated. Thanks!
04/10/2011 - (Using FireFox) After clicking the first tab for the second time and the page went completely blank, I checked the dom and there is no document object. Of course, this causes JavaScript errors. I changed the tab option 'cache' to true, and the page content no longer disappears but it also isn't being refreshed.