更新时间:2023-11-27 22:04:46
事实上,JavaScript可以在服务器端运行。
JavaScript can, in fact, be run on the server side.
但是,您的解决方案是使用AJAX来调用用于分页的PHP脚本,因为服务器端javascript对此问题没有多大意义。
Your solution here, though, would be to use AJAX to call a PHP script for pagination, as server side javascript doesn't make much sense for the issue.