I have a table similar to this one:
$("#nuevo").click(function(){
tr="<tr><td>Nuevo</td><td>1</td></tr>";
$("#tabla").append(tr);
});
table tr td{
border:1px solid #000
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<table id="tabla" style="border:1px solid #000">
<tr>
<td>Nombre
</td>
<td>Nro
</td>
</tr>
</table>
<button id="nuevo">nuevo</button>
In which rows are added at the bottom of the table.
My question is:
How do I insert that new row at the top of the table?