|label||Each of these returns the corresponding HTML attribute (the selected attribute in the case of defaultSelected). If you pass an argument, it will become the new value of the attribute, and the old value will be returned.|
|form||Returns the form containing this input element.|
|text||Returns the options text label.|
|index||Returns the index of this option in its select elements options array. You can pass an argument to set it. In that case, the option will be moved to a different place in the tree. (This is actually contrary to the DOM Level 2 specification, which makes it read-only, but Level 1 supported this, and I find feature deletion very disagreeable.)|
|selected||Returns a boolean indicating whether the option is selected. If an argument is passed, it becomes the new state and the old is returned.|
Returns the value of the option, that is, the value attribute, if
present, or the text content otherwise.
If the calling package is HTML::Form or WWW::Mechanize, the return value will be undef if the option is not selected. With an undef argument the option will be deselected. If an argument is given that is the same as the value, the box will be checked. If any other argument is passed, it will die.
|type||Returns the string option.|
|name||Returns the name of the enclosing select element.|
|possible_values||This returns a list with undef for the first element and the options value for the second.|
|form_name_value||Returns a list of two items: (0) the name of the field and (1) the value, *if* it is selected.|
|perl v5.20.3||HTML::DOM::ELEMENT::OPTION (3)||2014-12-23|