Hi,
I am new to JQuery and maybe am missing the obvious, but how can I filter a table using the contains selector but have it look for multiple strings using an OR operator. In other words, I would like rows containing "Red" OR "Yellow" to be hidden.
So far I have this which works by hiding all rows except the given date:
$(function()
{
$('div#WebPartWPQ5 table.ms-summarycustombody tr:not(:contains("10/27/2009"))')
.hide();
});
As added challenge, what I am really trying to do is write a hidden script that calulates a date range and then removes table rows containing dates not falling into that range.
Thank you in advance.
John