| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
InputMixin --+
|
object --+ |
| |
etree._Element --+ |
| |
etree.ElementBase --+ |
| |
object --+ | |
| | |
HtmlMixin --+ |
| |
HtmlElement --+
|
SelectElement
``<select>`` element. You can get the name with ``.name``.
``.value`` will be the value of the selected option, unless this is a multi-select element (``<select multiple>``), in which case it will be a set-like object. In either case ``.value_options`` gives the possible values.
The boolean attribute ``.multiple`` shows if this is a multi-select.
|
|||
|
value Get/set the value of this select (the selected option). |
|||
|
value_options All the possible values this select can have (the ``value`` attribute of all the ``<option>`` elements. |
|||
|
multiple Boolean attribute: is there a ``multiple`` attribute on this element. |
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
Get/set the value of this select (the selected option). If this is a multi-select, this is a set-like object that represents all the selected options. |
|
|||
valueGet/set the value of this select (the selected option). If this is a multi-select, this is a set-like object that represents all the selected options.
|
value_optionsAll the possible values this select can have (the ``value`` attribute of all the ``<option>`` elements.
|
multipleBoolean attribute: is there a ``multiple`` attribute on this element.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Fri Jan 11 16:02:42 2008 | http://epydoc.sourceforge.net |