jquery grab table row
$('.itemTable').eq(2);
//this will grab the 3rd row of the table with the class itemTable
jquery grab table row
$('.itemTable').eq(2);
//this will grab the 3rd row of the table with the class itemTable
get table row data jquery
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<table cellspacing="0" cellpadding="0" border="0" class="layui-table">
<tbody>
<tr data-index="0" class="">
<td data-field="sid" data-content="123456">
<div class="layui-table-cell laytable-cell-1-sid"> 123456 </div>
</td>
<td>
<div></div>
</td>
</tr>
<tr data-index="1" class="">
<td data-field="sid" data-content="100012">
<div class="layui-table-cell laytable-cell-1-sid"> 100012 </div>
</td>
<td>
<div></div>
</td>
</tr>
</tbody>
</table>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us