Here is my jfiddle: http://jsfiddle.net/D3zyt/8/
html:
<div class="board">
<table id="mastermind_table_one">
<td></td>
<td></td>
<td></td>
<td></td>
</table>
<table id="mastermind_table_two">
<td></td>
<td></td>
<td></td>
<td></td>
</table>
<table id="mastermind_table_three">
<td></td>
<td></td>
<td></td>
<td></td>
</table>
You'll notice in the html that I have three tables. Is there a way when I click "next_round", the background colors change for the next table and not the current (hardcoded) table?
.eq(#)to select the current table. Better yet, use one table and use.eq(#)to select the desired row.