Carl Franks > HTML-Widget-1.11 > HTML::Widget::Element::Reset

Download:
HTML-Widget-1.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Source  

NAME ^

HTML::Widget::Element::Reset - Reset Element

SYNOPSIS ^

    $e = $widget->element( 'Reset', 'foo' );
    $e->value('bar');

DESCRIPTION ^

Reset button element.

Inherits all methods from HTML::Widget::Element::Button.

Automatically sets type to reset.

METHODS ^

new

label

value

Sets the form field value. Is also used by the browser as the button label.

If not set, the browser will usually display the label as "Reset".

"label" is an alias for "value".

SEE ALSO ^

HTML::Widget::Element::Button, HTML::Widget::Element

AUTHOR ^

Sebastian Riedel, sri@oook.de

LICENSE ^

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

syntax highlighting: