J'ai une table avec plusieurs lignes, chaque ligne a son propre identifiant. Je veux quand je planerai la rangée, je peux obtenir son ID (je traiterai php pour obtenir les données), et ajouterai à la div (div disparaîtra après le vol stationnaire).Afficher div avec les informations de la ligne courante de la table hover
<table id="listtemp" class="table datatable">
<thead>
<tr>
<th>Số PO</th>
<th>Số hợp đồng</th>
<th>Số hóa đơn</th>
<th>Doanh nghiệp</th>
<th>Người mua</th>
<th>Sales</th>
<th>Ngày tạo</th>
<th>Tình trạng</th>
<th>Chi tiết</th>
</tr>
</thead>
<tbody>
<?php
for($i = 0; $i < 10; $i++){
?>
<tr id="<?=$i;?>">
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<?php } ?>
</tbody>
</table>
Alors, quelle est votre question? –
Je ne sais pas comment obtenir l'ID pour chaque rangée je hover –
Ajoutez votre structure de table à la question –