html表格最大行和ajax导航

发布于 2024-08-22 18:51:48 字数 686 浏览 4 评论 0原文

我有一个返回 HTML 表的 PHP 页面,如下所示:

<table>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>etc...</td>
   </tr>
</table>

我想要做的是添加一个 ajax 数字分页系统 (1 2 ... 6),该系统允许我们固定最多 3 行来显示并到达其他行导航。

您知道在哪里可以找到可以帮助解决此问题的现成脚本吗?

I have a PHP page that returns an HTML table like this:

<table>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>First Row data</td><td>Second Row  data</td><td>Third Row  data</td>
   </tr>
   <tr>
     <td>etc...</td>
   </tr>
</table>

What I want to do is to add an ajax numerical pagination system (1 2 ... 6) that allows we to fix a max 3 rows to display and reaching the others with the navigation.

Do you know where can I find a ready script that can help to solve this problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文