in reply to CGI::Ajax vs javascript global var
does not pass the Perl code reference properly, it should read:$pjx = new CGI::Ajax ('func','\&func');
otherwise the Perl call server side fails.$pjx = new CGI::Ajax ('func' => \&func);
You may want to have a look at one of the CGI::Ajax examples that come with the module.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: CGI::Ajax vs javascript global var
by senget76 (Acolyte) on Aug 29, 2007 at 01:50 UTC |