I have a table like this:
<table>
<tr>
<td>something</td>
</tr>
<tr>
<td>something else</td>
</tr>
</table>
now based on an id that is in the td i want to move the tr’s around so that they are in the position held by the id. any ideas on how to do this?
You can select the tr by using the parent() function. For example,
will move the tr containing the td with the id “td-id” to the bottom of the table.