Search and Top Navigation
#4232 closed bug (duplicate)
Opened February 25, 2009 03:42PM UTC
Closed February 25, 2009 07:38PM UTC
Last modified October 11, 2012 09:15PM UTC
ui.tabs recursive loading behavior in IE when tab content loaded via jQuery
Reported by: | chapmanp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | ui.tabs | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using ui.tabs with with jQuery 1.3.2 and ui 1.6rc6. If I load the top level tab div content using jQuery.html() and then init the tabs with $.('#tabs').tabs(), the tab loading fails in IE 6 and 7. It appears to be trying to load the tab content via ajax.
Example code:
In jQuery(document).ready...
var tabHtml = '<ul><li><a href="#foo">Foo</a></li><li><a href="#bar">Bar</a></li></ul><div id="foo">Foo Content</div><div id="bar">Bar Content</div>';
jQuery('#tabs').html(tabHtml);
jQuery('#tabs').tabs();
In the html body
<div id="tabs"></div>
#4033