Next, I have 2 tables, the items in the second table have hover. I need to pass the mouse on 1 item from the first table and it activates the hover of the respective item from table 2, but I can not pull the same id or class because I do not want to pull effects to table 1, I just want to activate the effects of hover on table 2 .
Each table has between 8 and 32 data, 1 = 1, 2 = 2, each time you mouse in item 1 of the first table, activates hover in item 1 of table 2
<table class="table table-bordered table-hover ">
<tr>
<th style="width: 10px">#</th>
<th>Posição do Pneu</th>
<th>Pressão Atual</th>
<th>Temperatura Atual</th>
<th>Status</th>
</tr>
</table>
<table style="width:100%">
<tr>
<td>
<div style="height:300px; width:100px;">
</div>
</td>
<td>
<div style="height:20px;"></div>
<input id="sampleButtonDiv" type="button" value="2">
</td>
</tr>
</table>
<style>
#sampleButtonDiv
{
background: rgb(28, 184, 65);
border: none;
width:30px;
height:40px;
}
#sampleButtonDiv:hover
{
background: #000;
border: none;
width:30px;
height:40px;
}
</style>