I need a help, I have a web page with two tables, a table has 5 divs
with images inside it, images already predefined, clicking on any of these images change the background of the other table. How can I do this using PHP, HTML, and JS.
Someone has a tutorial, experimental code, anything that can help me carry out this operation, thank you in advance.
CODE:
<td height="351" valign="top" align="center">
<div class="fundo"> </div>
<div class="fundo"> </div>
<div class="fundo"> </div>
<div class="fundo"> </div>
<div class="fundo"> </div>
</td>
CSS:
.fundo {
font-size: 1em;
text-align: center;
line-height: 40px;
height: 52px;
width: 52px;
margin: 4px;
margin-left:32px;
border: 2px solid black;
float: left;
padding: 2px;
}