Hi All,
 
Currently i am working on one jquery plugin. below is the plugin. http://www.jqueryscript.net/other/Easy-Any-Content-Pagination-Plugin-jQuery-Paginate-js.html

using above plugin i have generated the dynamic list of ul using below code.
 
 
  1. function FetchData() {  
  2. $.ajax({  
  3. ......  
  4. success: function (r) {  
  5.   
  6.   
  7.     $.each(JSON.parse(data), function (key, result) {  
  8.             // appending data in ul.   
  9.         }  
  10.         });  
  11.         Called Another function for pagination which is as per above plugin.   
  12.             SetPaginate();  
  13.         }  
  14.     });}  
  15.       
  16.       
  17.   
  18.   
  19.   
  20.   
  21. function SetPaginate() {  
  22.   
  23.     $('#locationdata').paginate({  
  24.         perPage: 20,  
  25.         autoScroll: true,  
  26.         //paginatePosition: ['bottom'],  
  27.         useHashLocation: true  
  28.     });  
  29.   
  30. }  
  31.   
  32. ////below is my page design  
  33.   
  34. class="DivwithScroll" id="divresultdata">  
  35.           
  36.         'example'>  
  37.           
  38.         //Currently data pager is appering here as per plugin.   
  39.  
  
  •     "datapager">   
  •     // I Want to add it pager here instead of example which is comes after Ul.    
  •     
  •   
  •   
  • /// Css  
  •