Need to use jquery to increment a table cell's value by 1 each time the button is clicked
Jquery newbie here. I have the following html:
<table class="myTable">
<tr>
<th >Name</th>
<th>Age</th>
</tr>
<tr>
<td>Joe</td>
<td id="joesAge">35</td>
</tr>
<tr>
<td>Becky</td>
<td id="beckysAge">40</td>
</tr>
<tr>
<td>Joey</td>
<td id="joeysAge">50</td>
</tr>
</table>
<button>Add</button>
I need each "Age" value to be incremented by 1 each time the button is clicked (all three per one click) Can someone help me?
Thanks,
Michelle