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前端其它相关文章！