[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-25 Thread Dave Maharaj :: WidePixels.com
) Subject: [jQuery] Re: Apply or remove style - Not workingin IE versions Is your mark-up valid? Works fine for me: http://jsbin.com/eninu Is that a typo? You must close the definion list, and it only takes and elements inside. On May 24, 11:09 pm, "Dave Maharaj :: WidePixels.com" wro

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-25 Thread Ricardo
7;); > $('#resume_education dl:first').addClass('first_entry'); > >   _   > > From: Mauricio (Maujor) Samy Silva [mailto:css.mau...@gmail.com] > Sent: May-24-09 8:14 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Apply or remove

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread mkmanning
> #CCC} > > js; > $('#resume_education dl:first').removeClass('entry'); > $('#resume_education dl:first').addClass('first_entry'); > >   _   > > From: Mauricio (Maujor) Samy Silva [mailto:css.mau...@gmail.com] > Sent: May-24-09 8:14 PM > T

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread Dave Maharaj :: WidePixels.com
ass('entry'); $('#resume_education dl:first').addClass('first_entry'); _ From: Mauricio (Maujor) Samy Silva [mailto:css.mau...@gmail.com] Sent: May-24-09 8:14 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Apply or remove style - Not workingin

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread Mauricio (Maujor) Samy Silva
Would you please provide a sample for your HTML markup? Maurício -Mensagem Original- De: Dave Maharaj :: WidePixels.com Not working in IE at all. Works in FF but noting in IE 5.5 to 7 $('#resume_education dl:first').addClass('first_entry');

[jQuery] Re: Apply or remove style - Not workingin IE versions

2009-05-24 Thread Dave Maharaj :: WidePixels.com
CCC} -Original Message- From: Chris J. Lee [ MSU #14 ] [mailto:chri...@gmail.com] Sent: May-24-09 7:00 PM To: jQuery (English) Subject: [jQuery] Re: Apply or remove style Given your table is named #foo: $(#foo tr:first) // this selector would select the first row or this would work as

[jQuery] Re: Apply or remove style

2009-05-24 Thread Dave Maharaj :: WidePixels.com
Perfect! Works just as needed. Thanks for the help. Greatly appreciated. Dave -Original Message- From: Chris J. Lee [ MSU #14 ] [mailto:chri...@gmail.com] Sent: May-24-09 7:00 PM To: jQuery (English) Subject: [jQuery] Re: Apply or remove style Given your table is named #foo

[jQuery] Re: Apply or remove style

2009-05-24 Thread Chris J. Lee [ MSU #14 ]
Given your table is named #foo: $(#foo tr:first) // this selector would select the first row or this would work as well $('#foo tr:eq(0)'); You could then chain it with a native jquery function, "addClass" to add the class. Or as well as toggleClass. The following would result: $('table#foo tr