Write sample code for pagination using java script.

Answer Posted / jayanthi

<script type="text/javascript"><!--
var pager = new Pager('results', 3);
pager.init();
pager.showPageNav('pager', 'pageNavPosition');
pager.showPage(1);
//--></script>

Is This Answer Correct ?    26 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is java better than javascript?

657


How to print a web page using javascript?

701


What is the difference between local storage & session storage?

667


What applications use javascript?

687


What is the scope of a function?

660


What is the difference between an Anonymous Function and a named function?

723


What is a scope in javascript?

652


What is JavaScript?

1000


Some XYZ company is arranging for online aptitude tests. Draw detailed E-R diagram for the same..

1840


Explain event bubbling and event capturing in javascript?

647


What is the difference between innerhtml & innertext?

661


What does 3+4+"7" evaluate to?

639


How to test a string as a literal and as an object ?

767


What does window.print() do in Javascript?

812


How onclick works in javascript?

662