Topic: Change Search Label
Possible to change Datatables "Search:" label?
Search:Tried via custom jquery but broke search functionality.
Resources (screenshots, code snippets etc.)

Mateusz Łubianka
staff answered a year ago
Hi @nikkiduck,
You can use this code:
<script type="text/javascript">
$(document).ready(function () {
$('#dtBasicExample').DataTable({
oLanguage: {
"sSearch": "New Text"
}
});
$('.dataTables_length').addClass('bs-select');
});
</script>
Image with the result:

Best,
Answered
- User: Pro
- Premium support: Yes
- Technology: jQuery
- MDB Version: 4.14.1
- Device: Laptop
- Browser: Chrome
- OS: Mac OS Catalina
- Provided sample code: No
- Provided link: No