I am having issue in applying AJAX so as to refresh certain contents of a table designed in HTML and Perl.
Say, if the contents of the following cells
{R2,C3},{R3,C4},{R4,C(5-7)}, {R(7-10),C(8-11)}
need to be refreshed every 10 seconds,
what shall be the corresponding PERL code for the same?
Millie a Thanks for sharing your Kowledge and Time.
JSONmodule is well documented) … assuming you want to use JSON, although it is a common choice.Content-Type: application/jsonheader (how you do this depends on the method by which you are interacting with your web server, it will be different between Plack / a framework / mod_perl / raw CGI / etc) … the same assumption applies.There is a simple example using FastCGI.