[jQuery] Re: Select the inverse of what you're looking for

2009-10-31 Thread Aaron Gusman
Thanks my friend, works fine..however i'm finding difficulty understanding the code for next time...Couldn't imagine opening brackets and writing a filter straight away :not(:contains On Oct 31, 5:04 am, mkmanning michaell...@gmail.com wrote: Try this:

[jQuery] Re: Select the inverse of what you're looking for

2009-10-30 Thread mkmanning
Try this: $(tr:not(:contains(Brown))).css(background-color, Red); On Oct 30, 12:58 pm, Aaron Gusman ict.aarongus...@gmail.com wrote: I have a table with 2 columns and four rows.  I am currently able to highlight the row which contains a specific piece of text.  But what I want to do is to