I have now read this thread several times: Add table row in jQuery .... and still don't understand why I can't append to a row that I just created:
var row = $('#sitesTable').append('<tr/>');
row.append($('<td align="left"/>').text(k));
row.append($('<td align="center"/>').text(v.length));
This simply creates an empty tr tag without appending to it:
<table class="sitesTable" id="sitesTable">
<tr></tr>
<th align="left">Site</th>
<th align="right">Total</th>
...
I appreciate any assistance, as this is starting to drive me nuts.