how do i pagination works in HTML -
i created site, , added pages site, since page size exceeds need create pagination in html
have created method
<a href="page1.html">1</a><a href="page2.html">2</a><a href="page3.html">3</a>
in way created
problem when add new page need replace code again this
<a href="newpage1.html">1</a><a href="page1.html">2</a><a href="page2.html">3</a><a href="page3.html">4</a>
ever time when add new page need replace code ther way without php
can sombody me idea in html
do not re-invent wheel. use datatables, provide sorting, pagination (client side , server side), export , number of additional features.
http://datatables.net/
include files , add this.
$(document).ready(function() { $('#example').datatable(); } );
this basic , example, should go it.
Comments
Post a Comment