Template::Plugin::HTML::Prototype is a Perl module that provides a simple interface to the Prototype JavaScript OO library for use in the Template Toolkit.
It directly returns a HTML::Prototype object, so you can call all methods there.
SYNOPSIS
In a Template:
[% USE proto = HTML::Prototype %]
[% proto.define_javascript_functions %]
[% proto.form_remote_tag(...) %]
[% proto.link_to_function(...) %]
[% proto.link_to_remote(...) %]
[% proto.observe_field(...) %]
[% proto.observe_form(...) %]
[% proto.periodically_call_remote(...) %]
[% proto.submit_to_remote(...) %]
Requirements:
· Perl