0
I have a table and this table has a column that has an input like checkbox. In this input I created an attribute. How do I scroll through this column and retrieve the attribute value?
<html>
<head>
<title>BVeículos</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<table class="table table-bordered">
<thead class="f quinze quase-preto fundo-thead">
<tr>
<th class="larg-10">Marca</th>
<th class="larg-10">Modelo</th>
<th class="larg-10">Teste Driver?</th>
</tr>
</thead>
<tr>
<td>Fiat</td>
<td>Uno</td>
<td><input type="checkbox" VeiculoId="1">Fazer teste</td>
</tr>
<tr>
<td>Ford</td>
<td>KA</td>
<td><input type="checkbox" VeiculoId="2">Fazer teste</td>
</tr>
<tr>
<td>GM</td>
<td>Corsa</td>
<td><input type="checkbox" VeiculoId="3">Fazer teste</td>
</tr>
</table>
<button>Agendar</button>
</body>
</html>
It would be interesting to create a Minimum, Complete and Verifiable Example to demonstrate your problem
– Ricardo Pontual
I updated the question
– Andersson OS