如何解决DataTables警告:非表节点初始化SELECT
我遇到了这个警告,并且对此感到不满。我没有调用任何数据表,但此消息不断弹出。
在搜索中,我遇到了这些错误
- DataTables警告:非表节点初始化(DIV),
- DataTables警告:非表节点初始化(TBODY),
- 但是我没有看到这个特别的数据表警告:非表节点初始化(SELECT)
这是我的代码
<table class="inventory">
<thead>
<tr>
<th><span>Quantity</span></th>
<th><span>Description</span></th>
<th><span>Unit Price</span></th>
<th><span>Price</span></th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="cut">-</a><span contenteditable class="Quantity"></span></td>
<td><span contenteditable class="Description"></span></td>
<td><span>R</span><span contenteditable class="Unit_Price"> </span></td>
<td><span>R</span><span class="Price"></span></td>
</tr>
</tbody>
</table>
//_Layout has this used for different table
$(document).ready(function ()
{
$("#demo").DataTable();
})
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。