jQuery将tbody标记插入到表中
如何将tbody标签插入表中。 所以车身必须覆盖“”标签 这是我的桌子:jQuery将tbody标记插入到表中,jquery,html-table,Jquery,Html Table,如何将tbody标签插入表中。 所以车身必须覆盖“”标签 这是我的桌子: <table id="contacts-table" data-role="table" data-mode="reflow" class="ui-responsive table-stroke ui-body-d ui-bar-d table-stripe ui-table ui-table-reflow"> <thead> <tr id="contacts-head
<table id="contacts-table" data-role="table" data-mode="reflow" class="ui-responsive table-stroke ui-body-d ui-bar-d table-stripe ui-table ui-table-reflow">
<thead>
<tr id="contacts-head">
<th data-priority="1">ID</th>
<th data-priority="persist">Name</th>
<th data-priority="2">Vorname</th>
<th data-priority="3"><abbr title="Rotten Tomato Rating">E-Mail</abbr>
</th>
<th data-priority="4">Aktionen</th>
</tr>
</thead>
<tr id="entry-16">
<td><b class="ui-table-cell-label"></b>16</td>
<td><b class="ui-table-cell-label"></b>Erolerer</td>
<td><b class="ui-table-cell-label"></b>Babacan</td>
<td><b class="ui-table-cell-label">aa@a.com</td>
<td><b class="ui-table-cell-label"></b>Edit| Remove</a>
</td>
</tr>
</table>
身份证件
名称
沃名称
我怎样才能做到这一点?
提前感谢$(文档).ready(函数()){
$(document).ready(function(){
$('table #entry-16').wrap( "<tbody></tbody>" );
});
$('table#entry-16')。换行(“”);
});
文件:$(“#entry-16”)。换行(“”);
$(document).ready(function(){
$('table #entry-16').wrap( "<tbody></tbody>" );
});
$('#entry-16').wrap( "<tbody />" );