I'm getting data from a table with the following code
$("#table_repuestos td").each(function(index) {
alert($(this).text());
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<table id="table_repuestos">
<thead>
<tr>
<th>Descripción</th>
<th>Codigo</th>
<th>Precio</th>
</tr>
</thead>
<tbody>
<tr>
<td>DATO1</td>
<td>DATO2</td>
<td>DATO3</td>
</tr>
<tr>
<td>DATO11</td>
<td>DATO22</td>
<td>DATO33</td>
</tr>
</tbody>
</table>
How can I store all the data obtained in an array?
EXAMPLE
var ParamObjSend = {
'descripcion': 'DATO1',
'codigo': 'DATO2',
'Precio': 'DATO3',
};