my original table paging function uses pagination in the thinkphp framework:
// 1 10
$list = Db::name("user")->where("status",1)->paginate(10);
// list
$this->assign("list", $list);
//
return $this->fetch();
<div>
<ul>
{volist name="list" id="user"}
<li> {$user.nickname}</li>
{/volist}
</ul>
</div>
{$list->render()}
The search function is to write a small piece of JavaScript code by yourself, and the code will not be posted, but only traversing the table of the current page, but this code can only search the current page, not all the data.
how can I jump to the page where the data is located and display it separately after entering data in the search box? I hope you can provide some ideas.