I was wondering, whether it's possible to select `<tr>`'s from a `<table>` where `<td>`'s meets multiple conditions. For example (see sample table at the end ):

> 
> Get all `<tr>`'s where first column is "Audi" **AND** second column is
>  "red"
> 
> 
> 

I've allready find out how to filter by one collumn:

```
$('tr:has(td:nth-child(1):contains("Audi"))').doSomeThing();

```

But my problem is how to filter with an **AND** condition like:

```
$('tr:has(td:nth-child(1):contains("Audi") && td:nth-child(2):contains("red"))').doSomeThing();

```

I know that there is the [Multiple Attribute Selector](http://api.jquery.com/multiple-attribute-selector/), but since i'm searching for the .text() property it's not apropriate for my problem.

My sample table:

```
<table id="list">
<tr>
    <td>Audi</td>
    <td>red</td>
</tr>
<tr>
    <td>Audi</td>
    <td>yellow</td>
</tr>
<tr>
    <td>Audi</td>
    <td>green</td>
</tr>
<tr>
    <td>BMW</td>
    <td>red</td>
</tr>
<tr>
    <td>BMW</td>
    <td>yellow</td>
</tr>
<tr>
    <td>BMW</td>
    <td>green</td>
</tr>
    ...
</table>

```

Thanx for your help!