I need to remove the text "show" and "entries" from a DataTable plugin via jQuery. I am using the CDN so I can not edit the raw code.
<div class="dataTables_length" id="example_length">
<label>
Show
<select name="example_length" aria-controls="example" class="">
entries
</label>
</div>
Use language.lengthMenu option.
For example:
$('#example').DataTable({
"language": {
"lengthMenu": "_MENU_"
}
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With