in reply to Re^2: Per CGI::Ajax, different ajax functions on same page
in thread Per CGI::Ajax, different ajax functions on same page
Ok, one $pjx per page/htmldocument, with all the functions that page uses, however many that is
my $pjx = CGI::Ajax->new( first => \&foo, second => \&bar, ## keep adding functions here ## unique names of course );
examples in http://search.cpan.org/dist/CGI-Ajax/MANIFEST, http://cpansearch.perl.org/src/BPEDERSE/CGI-Ajax-0.707/scripts/pjx_combo.pl, http://cpansearch.perl.org/src/BPEDERSE/CGI-Ajax-0.707/scripts/pjx_callback.pl, http://cpansearch.perl.org/src/BPEDERSE/CGI-Ajax-0.707/scripts/pjx_chained.pl
Also examples in CGI::AJAX inside CGI::AJAX and http://www.linux-magazine.com/Magazine/Downloads/62/Perl/, http://www.linux-magazine.com/Issues/2006/62/Perl-AJAX
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Per CGI::Ajax, different ajax functions on same page
by msinfo (Sexton) on Jun 06, 2013 at 19:32 UTC |