HTML::Ajax - Generate HTML and Javascript for Ajax
use HTML::Ajax; my $ajax = HTML::Ajax->new; print $ajax->library; print $ajax->observe_field( $id, $url, $frequency, $update, $param );
Some stuff to make Ajax fun. It's just a beginning, but more little helpers will come soon.
Returns our library of Javascript functions and objects, in a script block.
id = DOM id of field to observe url = url to request frequency = frequency for observation (defaults to 2) update = DOM id to change innerHTML with responseText param = name of parameter for request (defaults to value)
Returns our library of Javascript functions and objects.
Catalyst::Plugin::Ajax, Catalyst.
Sebastian Riedel, sri@oook.de
sri@oook.de
Based on the work of Sascha Kiefer, esskar@cpan.org
esskar@cpan.org
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
To install HTML::Ajax, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Ajax
CPAN shell
perl -MCPAN -e shell install HTML::Ajax
For more information on module installation, please visit the detailed CPAN module installation guide.