How do I disable an href based on data? Below, there is a table that will display the data. When the Clik Here is clicked, the data will be sent to the database.
<table>
<thead>
<tr>
<th>Name</th>
<th>Age</th>
<th>Address</th>
<th>Button</th>
</tr>
</thead>
<tbody>
<tr>
<td>Mr.XX</td>
<td>20</td>
<td>Street XX</td>
<td><a name=sendName id=sendId href="#" >Clik Here</a></td>
</tr>
</tbody>
</table>
However, when the age cell is not equal to 20, the href for Click Here should be disabled, so that the user cannot send that data to the database.