NAME

HTML::Tested::JavaScript - JavaScript enabled HTML::Tested widgets.

SYNOPSIS

use HTML::Tested::JavaScript qw(HTJ);

# set location of your javascript files
$HTML::Tested::JavaScript::Location = "/my-js-files";

DESCRIPTION

This is collection of HTML::Tested-style widgets which use JavaScript functionality.

It presently includes:

HTML::Tested::JavaScript::Variable

Produces simple JavaScript variable with necessary escaping.

HTML::Tested::JavaScript::Serializer

Which can be used to serialize data between your JS script and server.

HTML::Tested::JavaScript::RichEdit

Which provides infrastructure for rich text editing widget.

Please see individual modules for more information.

CONSTANTS

HTJ

It is shortcut for HTML::Tested::JavaScript. It is can be exported by importing HTML::Tested::JavaScript with HTJ parameter.

VARIABLES

$Location

Set location of your javascript files. This is the src string in <script> HTML tag. You probably need to alias it in your Apache configuration.

AUTHOR

Boris Sukholitko
boriss@gmail.com

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

SEE ALSO

HTML::Tested documentation. HTML::Tested::JavaScript::Serializer.