Try specifying "display:block" as the attribute, instead
of eliminating the style completely.  Perhaps that will
override what IE is doing.

In your code (wherever would be appropriate), try
$('#general').css({'display':'block'})
and see what happens.  Since you're using an AJAX call to
replace your original content, be sure and do this after
the AJAX call is complete.

Rick

> -----Original Message-----
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On 
> Behalf Of Charlie22
> Sent: Tuesday, January 20, 2009 1:37 PM
> To: jQuery (English)
> Subject: [jQuery] Re: Content loading with AJAX is lost in IE after click
> 
> 
> Thx for tips Rick,
> but still I have no success. IE is adding his style from reason
> unknown for me and isnt respect jQuery commands.
> 
> I tried this code:
> $('#'+submenu).attr('style','');
> 
> IE is generating this code always:
> <DIV id="pilots" style="DISPLAY: none" oldblock="block">
> 
> I am really desparete from this...
> 
> 
> 
> 
> On 20 Led, 18:07, "Rick Faircloth" <r...@whitestonemedia.com> wrote:
> > Also, Charlie, if I use IE7's Developer Toolbar to change the
> > div id="general" from display:none to display:block, all the
> > content shows up normally, as it does in FF3.
> >
> > Find out what's changing the display attr to display:none and
> > prevent that and you should be good-to-go...
> >
> > Rick
> >
> >
> >
> > > -----Original Message-----
> > > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On 
> > > Behalf Of Charlie22
> > > Sent: Tuesday, January 20, 2009 10:59 AM
> > > To: jQuery (English)
> > > Subject: [jQuery] Content loading with AJAX is lost in IE after click
> >
> > > Hi all,
> > > can you check pls, what I am doing wrong in these scripts. Check pls
> > > menu "Rules" and its submenu functions. In FF3 and GCh its works fine,
> > > but in IE it lost part of ajax content.
> >
> > > address:http://83.240.47.84/skyrace2/
> >
> > > Thank you for your help in advance.- Skrýt citovaný text -
> >
> > - Zobrazit citovaný text -

Reply via email to