我想要删除DataTables中筛选标签中的“搜索:”字样。我尝试使用jQuery替换标签dom,但替换后过滤器将无法工作。是否有其他解决方案?
好的,看起来大家都想要代码:
<div id="table-staff_wrapper" class="dataTables_wrapper">
<div id="table-staff_length" class="dataTables_length">
<div id="table-staff_filter" class="dataTables_filter">
<label>
Search:
<input type="text">
</label>
</div>
<table id="table-staff" cellspacing="0" cellpadding="0">
<div id="table-staff_info" class="dataTables_info">Showing 1 to 3 of 3 entries</div>
<div id="table-staff_paginate" class="dataTables_paginate paging_full_numbers">
以上内容由DataTables自动生成
"oLanguage": { "sSearch": "" }
- d123