SelectElement class
SelectElement class
The SelectElement represents a wrapper that is associated with the HTMLSelectElement
Inheritance: SelectElement
→
FormElement
The SelectElement type exposes the following members:
Properties
Property | Description |
---|---|
element_type | Gets the type of the element. |
name | Represent the name attribute of the input element. |
id | Represents the Id attribute of the input element. |
value | On getting, must return the value of the first option element in the list of options in tree order that has its selectedness set to true, if any. |
type | The type of this form control. This is the string “select-multiple” when the multiple attribute is true and the string “select-one” when false . |
multiple | If true, multiple OPTION elements may be selected in this SELECT . See the multiple attribute definition in HTML 4.01. |
selected_options | Returns a list of selected options |
options | Returns a list of options |
html_element |
Methods
Method | Description |
---|---|
select_items | This methods allows to select multiple options by their indexes. |
select_items | This methods allows to select multiple options by their values. |
See Also
- module
aspose.html.forms
- class
FormElement
- class
SelectElement