JQuery Tabs - HTML not displayed in any other tab except default tab

Posted by user346347 on Stack Overflow See other posts from Stack Overflow or by user346347
Published on 2010-05-20T16:58:54Z Indexed on 2010/05/20 17:00 UTC
Read the original article Hit count: 145

Filed under:

I'm pretty new to jquery, but I have a tab structure working and make a $.getJSON call to retrieve the JSON results from the backend. Now, I have 3 tabs: Tab1, Tab2 and Tab3. All the three tabs have the same divs but different content. The content shows up just fine in the first tab which is shown by default, but on clicking the 2nd tab, I make the same $.getJSON call and retrieve the JSON just fine, the same HTML is being constructed on the fly and set in the DIV within the tab but it is not being displayed... Any pointers??

© Stack Overflow or respective owner

Related posts about java