Web::DOM::HTMLFormElement
The DOM HTMLFormElement
object
DESCRIPTION
The Web::DOM::HTMLFormElement
class implements the DOM HTMLFormElement
interface.
The class is used by the HTML form
element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:
$string = $el->accept_charset
$el->accept_charset ($string)
-
Return or set the
accept-charset
attribute. [HTML] $string = $el->action
$el->action ($string)
-
Return or set the
action
attribute. [HTML] $string = $el->autocomplete
$el->autocomplete ($string)
-
Return or set the
autocomplete
attribute. [HTML] $string = $el->enctype
$el->enctype ($string)
-
Return or set the
enctype
attribute. [HTML] $string = $el->encode
$el->encode ($string)
-
Return or set the
enctype
attribute. [HTML] $string = $el->method
$el->method ($string)
-
Return or set the
method
attribute. [HTML] $string = $el->name
$el->name ($string)
-
Return or set the
name
attribute. [HTML] $boolean = $el->novalidate
$el->novalidate ($boolean)
-
Return or set whether the
novalidate
attribute is specified or not. [HTML] $string = $el->target
$el->target ($string)
-
Return or set the
target
attribute. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<http://www.whatwg.org/specs/web-apps/current-work/#the-form-element>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.