Paginate a large HTML table.
Sample:
Designation |
Actor |
Year |
First |
William Hartnell |
1963 |
Second |
Patrick Troughton |
1966 |
Third |
Jon Pertwee |
1970 |
Fourth |
Tom Baker |
1974 |
Fifth |
Peter Davison |
1981 |
Sixth |
Colin Baker |
1984 |
Seventh |
Sylvester McCoy |
1987 |
Eighth |
Paul McGann |
1996 |
War |
John Hurt |
2013 |
Ninth |
Christopher Eccleston |
2005 |
Tenth |
David Tennant |
2005 |
Eleventh |
Matt Smith |
2010 |
Twelfth |
Peter Capaldi |
2013 |
Code:
$("#doctors").simplePagination({
previousButtonClass: "btn btn-default btn-sm",
nextButtonClass: "btn btn-default btn-sm"
});