datatable pagination change previous next text code example

Example 1: can i change previous button in datatable

$('.datatable-Permission:not(.ajaxTable)').DataTable({ 
      buttons: dtButtons,
      language: {
        paginate: {
            previous: 'Prev',
            next:     'Next'
        },
        aria: {
            paginate: {
                previous: 'Previous',
                next:     'Next'
            }
        }
    }
})

Example 2: can i change previous button in datatable

Plain text12345678$(el).dataTable({  language: {    'paginate': {      'previous': '<span class="prev-icon"></span>',      'next': '<span class="next-icon"></span>'    }  }});

Tags:

Misc Example