jquery 1.4.2 tabs problem

Posted by user296416 on Stack Overflow See other posts from Stack Overflow or by user296416
Published on 2010-05-12T08:25:29Z Indexed on 2010/05/12 8:34 UTC
Read the original article Hit count: 135

Filed under:

I'm new to this forum and jquery, recently i've updated new version jquery 1.4.2 after that, initially while loading the web page my first and default tab showing the last tab content, once we clicked on any tab then the problem solved automatically, again if we load the page again the same problem ocurrs.

following is the code i used

$('.main).tabs();


<ul>
<li><a href="#tab1">Title Page</a></li>
<li><a href="#tab2">Manuscript</a></li>
<li><a href="#tab3">Figures and Tabels</a></li>
</ul>

<div class="main">

<div class="tab1">Tab 1</div>
<div class="tab2">Tab 2</div>
<div class="tab3">Tab 3</div>

</div>

But the same working perfect in the previous version, any help will be appreciated.

Regards Bala

© Stack Overflow or respective owner

Related posts about jQuery