Web::DOM::HTMLButtonElement
DOM HTMLButtonElement
object
DESCRIPTION
The Web::DOM::HTMLButtonElement
class implements the DOM HTMLButtonElement
interface.
The class is used by the HTML button
element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:
$boolean = $el->autofocus
$el->autofocus ($boolean)
-
Get or set whether the
autofocus
attribute is specified or not. [HTML] $boolean = $el->disabled
$el->disabled ($boolean)
-
Get or set whether the
disabled
attribute is specified or not. [HTML] $string = $el->formaction
$el->formaction ($string)
-
Get or set the
formaction
attribute value. [HTML] $string = $el->formenctype
$el->formenctype ($string)
-
Get or set the
formenctype
attribute value. [HTML] $string = $el->formmethod
$el->formmethod ($string)
-
Get or set the
formmethod
attribute value. [HTML] $boolean = $el->formnovalidate
$el->formnovalidate ($boolean)
-
Get or set whether the
formnovalidate
attribute is specified or not. [HTML] $string = $el->formtarget
$el->formtarget ($string)
-
Get or set the
formtarget
attribute value. [HTML] $string = $el->name
$el->name ($string)
-
Get or set the
name
attribute value. [HTML] $string = $el->type
$el->type ($string)
-
Get or set the
type
attribute value. [HTML] $string = $el->value
$el->value ($string)
-
Get or set the
value
attribute value. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<https://html.spec.whatwg.org/#the-button-element>
.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2017 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.