user1722791 user1722791 - 9 months ago 55
Javascript Question

JQuery, selecting what does NOT contains something

If i want to select what contains "pc" i use


But what can i use to select what does NOT contains "pc"?


Use the :not() selector that is part of the jquery framework. Something like $('tr:not(:contains("pc"))') should do the trick.