The jQuery DataTables "input" plugin was created to allow manual user input of a page number on a paginated display in addition to the typical first, previous, next, last buttons. The default display shows next and last, with a few page number buttons adjacent to the current page number, so if you're on page 10, perhaps there would be buttons labeled "11", "12", and "13" buttons. But what if you want to go to page 1000 of 2000? No easy way to get there. That is the motivation of the input plugin.
However, this code was written for the "legacy" version of DataTables, the version prior to 1.10. My application is written for the newer version.
The example quoted on the page uses the pre-1.10 syntax:
$(document).ready(function() {
$('#example').dataTable( {
"sPaginationType": "input"
} );
} );
I tried making trivial modifications, along the lines of the new syntax
$(document).ready(function() {
$('#example').DataTable( {
"paginationType": "input"
} );
} );
but it doesn't work. To be sure, the inputting of the page number works, but all the other buttons are broken, rendering as text:
Is there a simple way to get this plugin to work with the newer DataTables, or is there a better way to get this functionality in that environment?