Web::DOM::HTMLInputElement
DOM HTMLInputElement object
DESCRIPTION
The Web::DOM::HTMLInputElement class implements the DOM HTMLInputElement interface.
The class is used by HTML input elements.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following methods are available:
$string = $el->accept$el->accept ($string)-
Return or set the
acceptattribute. [HTML] $string = $el->alt$el->alt ($string)-
Return or set the
altattribute. [HTML] $boolean = $el->autofocus$el->autofocus ($boolean)-
Return or set whether the
autofocusattribute is specified or not. [HTML] $boolean = $el->default_checked$el->default_checked ($boolean)-
Return or set whether the
checkedattribute is specified or not. [HTML] $string = $el->default_value$el->default_value ($string)-
Return or set the
valueattribute. [HTML] $string = $el->dirname$el->dirname ($string)-
Return or set the
dirnameattribute. [HTML] $boolean = $el->disabled$el->disabled ($boolean)-
Return or set whether the
disabledattribute is specified or not. [HTML] $string = $el->formaction$el->formaction ($string)-
Return or set the
fromactionattribute. [HTML] $string = $el->formenctype$el->formenctype ($string)-
Return or set the
formenctypeattribute. [HTML] $string = $el->formmethod$el->formmethod ($string)-
Return or set the
formmethodattribute. [HTML] $boolean = $el->formnovalidate$el->formnovalidate ($boolean)-
Return or set whether the
formnovalidateattribute is specified or not. [HTML] $string = $el->formtarget$el->formtarget ($string)-
Return or set the
formtargetattribute. [HTML] $el2 = $el->list-
Return the
datalistelement for the element (as specified by thelistcontent attribute), if any, orundef. [HTML] $string = $el->max$el->max ($string)-
Return or set the
maxattribute. [HTML] $integer = $el->maxlength$el->maxlength ($integer)-
Return or set the
maxlengthattribute. [HTML] $string = $el->min$el->min ($string)-
Return or set the
minattribute. [HTML] $boolean = $el->multiple$el->multiple ($boolean)-
Return or set whether the
multipleattribute is specified or not. [HTML] $string = $el->name$el->name ($string)-
Return or set the
nameattribute. [HTML] $string = $el->pattern$el->pattern ($string)-
Return or set the
patternattribute. [HTML] $string = $el->placeholder$el->placeholder ($string)-
Return or set the
placeholderattribute. [HTML] $boolean = $el->readonly$el->readonly ($boolean)-
Return or set whether the
readonlyattribute is specified or not. [HTML] $boolean = $el->required$el->required ($boolean)-
Return or set whether the
requiredattribute is specified or not. [HTML] $integer = $el->size$el->size ($integer)-
Return or set the
sizeattribute. [HTML] $string = $el->src$el->src ($string)-
Return or set the
srcattribute. [HTML] $string = $el->step$el->step ($string)-
Return or set the
stepattribute. [HTML] $string = $el->type$el->type ($string)-
Return or set the
typeattribute. [HTML]
Additionally,
the following obsolete methods are available: align and usemap. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<http://www.whatwg.org/specs/web-apps/current-work/#the-input-element>.
SEE ALSO
AUTHOR
Wakaba <wakaba@suikawiki.org>.
LICENSE
Copyright 2013-2018 Wakaba <wakaba@suikawiki.org>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.