Trying to manipulate a table with jQuery, and I just cannot seem to get it to work properly. The empty works just fine, but I cannot add content back onto the table after.
Any suggestions on what I may be doing wrong?
<table id="schedualtable">
<tbody id="sortable">
<tr><td></td></tr>
</tbody>
</table>
$('#schedualtable > tbody:last').empty().append($.get('incl/ajax_category.php?action=filtercat', {'cata': $('#filtercat').val()}));
$('#sortable').empty().append($.get('incl/ajax_category.php?action=filtercat', {'cata': $('#filtercat').val()}));