jQuery-UI tabs - load just once

Posted by user256034 on Stack Overflow See other posts from Stack Overflow or by user256034
Published on 2010-03-29T13:15:00Z Indexed on 2010/03/29 13:23 UTC
Read the original article Hit count: 305

Filed under:

I'd like the load content of my tabs thru AJAX, but only on the first tab click. Now the tabs gets loaded every time I click on any tab. Is this possible ?

My html

<div id="tabContainer">
<ul>
<li><a href="/Home/Tab1">Tab1</a></li>
<li><a href="/Home/Tab2">Tab2</a></li>
<li><a href="/Home/Tab3">Tab3</a></li>
</ul>
</div>

EDIT

I cannot use the Cache option,because the content in the tabs may change..

© Stack Overflow or respective owner

Related posts about jquery-ui