Hi,

I have a problem with IE6 (IE7, Firefox, Chrome, etc there's everything ok )
and jquery tabs. It looks like that IE6 is "cashing" HTMLs loaded "into"
tabs by ajax and i just can't figure out how to prevent it (option "cache:
false") doesn't work. Every tab is loaded only once.
Tried almost every release i found of JQuery UIs, Tabs.
Also this solution doesn't work either:
       $("#tab-container > div.ui-tabs-panel").empty(); 

here si my code, I'm using Django so that's why {{selected}} etc and i'm
using it to bypass cookie to remember last selected tab, because i had a lot
of problems with it and this kind of "remember" solution is better for me.

<script type="text/javascript">

                $(document).ready(function(){
                        var $tabs = $('#message').tabs({remote: true, cache: 
false , selected:
{{selected}},
                                select: function() {
                                        var 
all=document.getElementsByName('message');
                                        for (var i =0; i < all.length; i++) 
{all[i].checked=false;}
                                }
                        });
                });
</script>
<div id="message">
    <ul>
        <'li'><'a'  h r e f={% url message.views.inbox %}><'span'>{% trans 
'Inbox'
%}</'span'></ 'a'></'li'>
        <'li'><'a'  h r e f={% url message.views.outbox %}><'span'>{% trans
'Outbox' %}</'span'></'a'></li>
        <'li'><'a'  h r e f={% url message.views.spam %}><'span'>{% trans 'Spam'
%}</'span'></ 'a'></'li'>
    </ul>
    <br/>
</div>

<li> are changed to appear corectly in this message.

I would appreciate any help.

Thanks o lot

Radovan
-- 
View this message in context: 
http://www.nabble.com/Ajax-TABS-with-IE6-problem-tp21950319s27240p21950319.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to