[jQuery] How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread jmatthews
I am manipulating a style on elements with class=House or Senate. Unfortunately, it sets the style for every child underneath. The tree is like this: AL House of Representatives Member Member Member Senate Member Member Member House has class=House.

Re: [jQuery] How to Select element with class, but EXCLUDE its children?

2009-10-30 Thread waseem sabjee
give the elements childrent a class called : nomralffont with the following css .normalfont { font-weight:normal!important; } this is just an example you may went to give them a different style but use the !important On Fri, Oct 30, 2009 at 12:31 PM, jmatthews jmatth...@xexam.net wrote: I