我需要从 JSON 数据源动态填充表格页脚。这是桌子的结构
<table id="example_table">
<tfoot id="example_footer">
<tr id="example-footer" style="font-weight:bold">
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</tfoot>
</table>
我打算在 jQuery 中使用 append(),如下所示
$('#example_footer').append( '<tr>...</tr>' );
谁能告诉我如何访问 tfooter 并从 js 变量的内容中赋值