Friday, May 17, 2024
 Popular · Latest · Hot · Upcoming
57
rated 0 times [  59] [ 2]  / answers: 1 / hits: 28554  / 13 Years ago, thu, november 24, 2011, 12:00:00

I'm trying to remove the words Search: from the filter label in DataTables. I have tried to use jQuery to replace the label dom but when replaced the filter will not work. Any one have any other solutions?



Well seems everybody wants code:



<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>


the above is auto generated by DataTables


More From » jquery

 Answers
42

refer this link http://datatables.net/ref#sinfo



add this thing to your code--



oLanguage: { sSearch:  } 


even if you don't get what you wished then you can simply post the same question on dataTable forum...dataload team will assist you...



Hope it will help you..


[#88930] Tuesday, November 22, 2011, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aubriea

Total Points: 641
Total Questions: 118
Total Answers: 101

Location: French Southern and Antarctic Lands
Member since Fri, Jan 6, 2023
1 Year ago
;