Your mix of logical concepts is a bit. To make simple or , you simply separate your selectors with a comma:
$(".this, .orThat") // looks for items with one or the other (or both) classes
An and would consist of combining them:
$(".thisClass.andThisClass")
But I do not think what you are looking for. You are looking for a specific pair of lines and want to act on the second element.
I would do something like this:
$(".row_d").next(".row_c").dosomething
DA
source share