Web::DOM::HTMLSelectElement
The DOM HTMLSelectElement
object
DESCRIPTION
The Web::DOM::HTMLSelectElement
class implements the DOM HTMLSelectElement
interface.
The class is used by the HTML select
element.
METHODS
In addition to the methods available for classes Web::DOM::Element and Web::DOM::HTMLElement, the following method is available:
$boolean = $el->autofocus
$el->autofocus ($boolean)
-
Return or set whether the
autofocus
attribute is specified or not. [HTML] $boolean = $el->disabled
$el->disabled ($boolean)
-
Return or set whether the
disabled
attribute is specified or not. [HTML] $boolean = $el->multiple
$el->multiple ($boolean)
-
Return or set whether the
multiple
attribute is specified or not. [HTML] $string = $el->name
$el->name ($string)
-
Return or set the
name
attribute. [HTML] $boolean = $el->required
$el->required ($boolean)
-
Return or set whether the
required
attribute is specified or not. [HTML] $string = $el->type
-
Return the string
select-multiple
orselect-one
, depending on whether the element has themultiple
attribute or not. [HTML] $integer = $el->size
$el->size ($integer)
-
Return or set the
size
attribute. [HTML]
SPECIFICATION
- HTML
-
HTML Standard
<http://www.whatwg.org/specs/web-apps/current-work/#the-select-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.