Jump to Page functionality in datatable

Jump to Page functionality in datatable

ramya_vagdeviramya_vagdevi Posts: 1Questions: 0Answers: 0
edited November 2013 in DataTables 1.9
Hi all,I had used the below code for the jump-to-page functionality but Im not able to the expected output
the javascript used is---
function jumptoPage(){
var pagenum = parseInt(document.getElementById('pagenumber').value);
alert('jump to page'+pagenum);
var oTable = $('#jobsListTbl').dataTable();
oTable.fnPageChange(pagenum);
}

html code :
jump to page


The above is not navigating to page number given in the input field.Please help me to solve this issue.Thanks in advance.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Please link to a test page showing the issue. As far as I can tell, the above code looks okay.

    Allan
This discussion has been closed.