Posted By

victorchamorro on 11/27/07


Tagged

ajax javascript tablas paginacin paginado


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

umang_nine


Paginación de tablas


 / Published in: JavaScript
 

URL: http://acctable.lostsys.com/

libreria que mediante ajax y javascript permite paginar los contenidos de una tabla

  1. <html>
  2. <head>
  3. <link rel="stylesheet" href="http://acctable.lostsys.com/accDataGrid/accDataGrid1.css" type="text/css" />
  4. <script type="text/javascript" src="http://acctable.lostsys.com/accDataGrid/accAjax.js"></script>
  5. <script type="text/javascript" src="http://acctable.lostsys.com/accDataGrid/accDataGrid1.js"></script>
  6. </head>
  7. <body>
  8. <table cellspacing=0 class="llistaDades" id="taulaDades"></table>
  9. <script>
  10. var ldades=document.getElementById("taulaDades");
  11.  
  12. accDataGrid( ldades );
  13.  
  14. ldades.regByPag=10;
  15. ldades.minRegByPag=5;
  16. ldades.maxRegByPag=20;
  17. ldades.stepRegByPag=5;
  18.  
  19. ldades.urlData="./data.php";
  20. ldades.refresh();
  21. </script>
  22. <body>
  23. </html>

Report this snippet  

You need to login to post a comment.