You are using an outdated version of Tabs, which doesn't support the
cache option. If you upgrade to jQuery UI Tabs be aware that you need
to tabify the ul element and no longer the container:

$('#grocery_show > ul').tabs({ cache: true });

Documentation for UI Tabs is here:
http://docs.jquery.com/UI/Tabs

--Klaus


On 25 Dez., 05:08, tyliong <[email protected]> wrote:
> give a bit more of code
>
>                 <div id="grocery_show">
>             <ul>
>                 <li><a href="/search"><span>Price</span></a></li>
>                 <li><a href="/fix"><span>fix goods</span></a></li>
>                 <li><a href="/tech"><span>tech</span></a></li>
>             </ul>
>             <div id="fragment-1">
>
>             </div>
>
>             <div id="fragment-2">
>
>             </div>
>             <div id="fragment-3">
>         </div>
>
> On Dec 22, 7:00 pm, tyliong <[email protected]> wrote:
>
> > hi i followedhttp://kuujinbo.info/ajax/jq_tabs.aspxtutorialon how
> > to get the tabs to work and well it works but i now i am trying
> > something different. I don't want the tabs to reloading everytime i
> > click on it, in other words when i click on the tab it uses the cached
> > page and doesn't reload. is it possible?
>
> > i tried this
>
> >http://filchiprogrammer.wordpress.com/2007/12/17/using-jquery-ajax-ta...
>
> > and edited my line like this
>
> > $(function() { $('#navtabs').tabs({remote:true,cache:
> > true,ajaxOptions: { async: false }}); });
>
> > but caching still doesn't work. please help
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to