How can I output a large HTML table in a Perl CGI program without freezing the browser?

I have this Perl CGI program and I allow the user to select the number of data to view on this HTML table. I go through a `foreach ... foreach ...` and print each row. There is an issue with the Perl CGI script when it prints over 3,000 rows of data and my Firefox window becomes unresponsive. I am also linking dataTable jquery. What approaches can I do to prevent freezing of browser window?
It is unlikely that Perl has anything to do with the issue. More likely, the memory or CPU usage by whatever jQuery stuff you are doing is causing the problem.

以上就是How can I output a large HTML table in a Perl CGI program without freezing the browser?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » jQuery 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏