I'm with Karl. I remember IE dying on me when I tried to set an expando called 'all', go figure...
So.. use another attribute, jQuery.data or try setAttribute. jQuery('ul.nav a').addClass('scrollover').each(function(){ this.setAttribute( 'type','scrollover' ); }); Not sure whether it will fail as well or not. -- Ariel Flesler http://flesler.blogspot.com On 28 mayo, 02:03, "Karl Rudd" <[EMAIL PROTECTED]> wrote: > IE is probably having issues with trying to set an attribute of > "type", which is generally only used for input elements. > > Karl Rudd > > > > On Wed, May 28, 2008 at 2:14 PM, Chris P <[EMAIL PROTECTED]> wrote: > > > Anyone on this? > > > On May 26, 8:32 pm, Chris P <[EMAIL PROTECTED]> wrote: > >> Hello all, > > >> For some reason this is not working in IE but fine in Safari/FF. > > >> jQuery('ul.nav a').addClass('scrollover').attr('type','scrollover'); > > >> You can see it on my site (www.siolon.com). It's suppose to add it in > >> the navigation bar. > > >> Cheers.- Ocultar texto de la cita - > > - Mostrar texto de la cita -