I have a div tag with a background image, inside a link tag. What I want to do is highlight or change the relevant background image of the div tag once clicked it.
<td>
<a href="../pages/index.php">
<div id="dashboardDiv"
style="background:url(../images/home.png) no-repeat center";)>
</div>
</a>
</td>
<td></td>
CSS:
#dashboardDiv{
border:thin;
float:left;
height: 133px;
width: 133px;
}