Jump to Page functionality in datatable
Jump to Page functionality in datatable
ramya_vagdevi
Posts: 1Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
Allan