Remove first, and last pagination from the jquery data table

datatable, jquery

Solution

Write your own javascript to hide/remove the elements.

` $(".first.paginate_button, .last.paginate_button").hide(); `

Problem

I'm currently using jQuery Datatable. I also use jquery ui to provide good theme. However, I want to disable (hide) the `first` and `last` button of the pagination from the table by using a bit customization on jquery library. The problem is that the customization has only 2 methods: `full_numbers` and `two_button`. So how can I get the pagination without the `first` and last `button`? Any help would be very much appreciated. Thanks

Original source