-1
In this table:
<table>
<thead>
<tr>
<th>marca</th>
<th>ano</th>
<th>cor</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
How to loop in jquery to insert this into tbody?
<tr>
<td>fiat</td>
<td>2001</td>
<td>verde</td>
</tr>
<tr>
<td>ford</td>
<td>2002</td>
<td>azul</td>
</tr>
<tr>
<td>VW</td>
<td>2003</td>
<td>preto</td>
</tr>
Data is inside an object. Ex:
0: {marca: "fiat", ano: "2001", cor:"verde"}
1: {marca: "ford", ano: "2002", cor:"azul"}
2: {marca: "VW", ano: "2003", cor:"preto"}
It was perfect. Thank you very much!
– bur