I have a table where I want to select the td's
that contains certain text. I've tried options like:
console.log($("#minhaTabela").find("td[value='A']"));
console.log($("#minhaTabela").find("td[text='A']"));
console.log($("#minhaTabela").find("td[innerText='A']"));
console.log($("#minhaTabela").find("td[context='A']"));
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><tableid="minhatabela">
<tr>
<td>A</td>
<td>B</td>
</tr>
</table>
All of the above do not return anything. How can I do this?