A simple two-step process for paging
<script src= "<%=basepath%>/resources/js/jquery-1.7.1.min.js" ></script> <script src= "<%= Basepath%>/resources/js/jquery.loehpagerv1.0.js "></script> <script type=" text/javascript ">//callback inside for business processing functionloehpagercallback (data) {alert (' data ' handling callback here); } $(function() { $(' #customerPager '). Loehpagerplugin ({' Color ': ' gray ', ' FontSize ': ' 15px ', ' TotalCount ':<%=totalpage%>, ' PageSize ': ' 15 ', ' Ajaxcallback ': ' loehpagercallback ', ' Ajaxrequestparameter ': ' name=leohpager&age=10 ', ' Ajaxoriginalparameter ': ' name=leohpager&age=10 ', ' Ajaxurl ': ' <%=basepath%>/ipload?path=data ' }); }); </script> ' Ajaxoriginalparameter ': ' name=leohpager&age=10 ',The above two parameters, the first one is the AJAX request data when the parameter, it is the second parameter stitching on the currently selected page Combination.
Version 1.0, a few simple lines of code can realize the paging function, the subsequent time will continue to Update.
: http://download.csdn.net/detail/liaohang1987x/9829665
Official Exchange Group: 636620079
jquery Ajax Custom Paging Component (jquery.loehpagerv1.0) Original