Try validating the content that you're loading into the tab.

On Sep 9, 10:02 am, Jaggi <[email protected]> wrote:
> This one is really weird and i've tried it a few ways but nothing
> seems to work.
>
> I'm using ui-tabs and all the tabs are ajax tabs loading content from
> another area, this includes the first one. Orginally the first tab
> won't reload if the request url is the same as the page its on so i
> added ?a=a to get around that. It works absolutely fine in firefox but
> in ie it loads it shows it for a split second then all the content
> vanishes. If i inspect the source the node is empty i have no idea why
> this is happening or where the data is going. I thought this was
> probably a bug with the way its working so get around this i did the
> following but the same issue persists. Its also ONLY the first tab and
> none of the other ones.
>
> Heres my js from the second attempt, i also changed the link to a id
> so it doesn't load it and this extra bit takes care of it.
>
>         $('#tabs').tabs({
>                 fx: { opacity: 'toggle' },
>                 cookie: { expires: null, path: '/', domain: document.domain },
>                 spinner: 'loading...',
>                 ajaxOptions: {
>                         type: 'POST',
>                         data: { js:true }
>                 },
>                 select: function(event, ui) {
>                         if ( ui.panel.id == 'summary' )
>                         {
>                                 $.post("http://mysite.com/page.html";, { 
> js:true },
>                                         function(data){
>                                                 
> $('#summary').replaceWith(data);
>                                         }
>                                 );
>                         }
>                 }
>         });
--~--~---------~--~----~------------~-------~--~----~
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