如何使用 jQuery 添加<th>新<thead>内容
<table id="table">
<thead>
<tr>
<th>First</th>
</tr>
<thead>
</table>
Run Code Online (Sandbox Code Playgroud)
使用jQuery 附加方法。
$("#table>thead>tr").append("<th>Second</th>");
Run Code Online (Sandbox Code Playgroud)