Apache2-Ajax

 view release on metacpan or  search on metacpan

lib/Apache2/Ajax.pm  view on Meta::CPAN

or, using a coderef:

    my $ajax = Apache2::Ajax->new($r, 'JSFUNC' => $perlfunc);

This mapping can alternatively be done through the Apache
configuration directive I<PJX_fn>, to be described below.

=item * my $html = $ajax-E<gt>build_html(%build_args);

This returns the HTML used for the web page, either the
complete html for the whole page or the updated html;
this corresponds to the I<build_html()> method of
L<CGI::Ajax>. This method also accepts optional
arguments, in the form of a hash, of two types:

=over

=item * header =E<gt> $header

By default, the only header Apache2::Ajax sets is
the I<Content-Type>, for which I<text/html> is used.



( run in 0.293 second using v1.01-cache-2.11-cpan-05444aca049 )