1
I have a table where I want to select the td's
that contain certain text. I have tried options such as:
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>
<table id="minhatabela">
<tr>
<td>A</td>
<td>B</td>
</tr>
</table>
All the above options return nothing. How can I do this?