When a search result is found in a tr "detail" row I want it to also return the previous "master" row, and when a search result is found in a tr "master" row I want it to also return the next row ("detail"), regardless of whether the search target appears in that row or not,
As it is now, I search a term and I get way too many 'detail" rows and my table looks totally messed-up.
I have a table with tr rows that alternate between class master and class detail, like this:
When a search result is found in a tr "detail" row I want it to also return the previous "master" row, and when a search result is found in a tr "master" row I want it to also return the next row ("detail"), regardless of whether the search target appears in that row or not,
As it is now, I search a term and I get way too many 'detail" rows and my table looks totally messed-up.