Hi,
Thanks for that but doesn't seem to be the issue i've narrowed the
problem down to the html function now working in the $('#summary').html
(data); part of the code. If i replace the html function with text it
works fine so not quite sure why this is a issue in ie or what a
alternative would be.
On Sep 11, 9:28 am, Toby <[email protected]> wrote:
> okay not sure if it applies to you as well, but i had something
> similar..
>
> i created a tab and had an extra div in which all the content was
> supposed to be displayed.. and i had the same problem that it was not
> showing...
> and the dom had it correctly though..
>
> i solved it by making the div large enough to hold whatever it was
> supposed to hold.. i had my host div limited to like 20% of the page,
> but when the content was bigger than the 20% it wasnt showing up
> anymore.. so maybe you should look into this...
>
> there just isnt a bermuda triangle on our computers just yet ;)
>
> On Sep 11, 10:18 am, Jaggi <[email protected]> wrote:
>
> > the source is valid before the js kicks in and after its valid aside
> > from the attributes added by the js but the dom markup is fine.
>
> > At the moment when i load it in ie the first tab shows (as it comes
> > from the source and is not ajax) if i then click away and click back
> > to it loads for a brief second then vanishes, on inspecting the source
> > it is there but just isn't displaying on the page, really got me
> > stumped this one.
>
> > On Sep 10, 1:21 pm, Scott González <[email protected]> wrote:
>
> > > 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
-~----------~----~----~----~------~----~------~--~---