HTMLSelectElement overview

Public Properties

public property Attributes (inherited from Node) Gets a collection containing the attributes of this node.
public property ChildNodes (inherited from Node) Gets all the child nodes of the node.
public property ClassName (inherited from HTMLElement) Gets or sets the class of the element.
public property Dir (inherited from HTMLElement) Gets or sets the base direction of directionally neutral text of the element.
public property Disabled Gets or sets a value indicating whether the control is disabled for user input.
public property FirstChild (inherited from Node) Gets the first child of the node.
public property Form Gets the form element containing this control.
public property Id (inherited from HTMLElement) Gets or sets the identifier of the element.
public property Lang (inherited from HTMLElement) Gets or sets the language of the element.
public property LastChild (inherited from Node) Gets the last child of the node.
public property Length Gets or sets the number of OPTION elements in this select.
public property Multiple Gets or sets a value indicating that multiple OPTION elements may be selected in this SELECT.
public property Name Gets or sets the form control or object name when submitted with a form.
public property NextSibling (inherited from Node) Gets the node immediately following this node.
public property NodeName (inherited from Node) Gets the qualified name of the node.
public property NodeType (inherited from Node) Gets the type of the current node.
public property NodeValue (inherited from Node) Gets or sets the value of the node.
public property Options Gets a collection of OPTION elements contained by this element.
public property OwnerDocument (inherited from Node) Gets the document to which this node belongs.
public property ParentNode (inherited from Node) Gets the parent of this node.
public property PreviousSibling (inherited from Node) Gets the node immediately preceding this node.
public property SelectedIndex Gets or sets ordinal index of the selected option.
public property Size Gets or sets the number of visible rows.
public property TabIndex Gets or sets a value indicating the index that represents the element’s position in the tabbing order.
public property TagName (inherited from Element) Gets the tag name of the element.
public property Title (inherited from HTMLElement) Gets or sets the advisory title of the element.
public property Type Gets the type of this form control.
public property Value Gets or sets the current form control value.

Public Methods

public method Add Adds a new element to the collection of OPTION elements for this element.
public method AppendChild (inherited from Node) Adds the specified node to the end of the list of child nodes, of this node.
public method CloneNode (inherited from Node) Creates a duplicate of this node.
public method GetAttribute (inherited from Element) Returns the value for the attribute with the specified name.
public method GetAttributeNode (inherited from Element) Returns the Attribute with the specified name.
public method GetElementsByTagName (inherited from Element) Returns an NodeList containing a list of all descendant elements that match the specified name.
public method HasAttribute (inherited from Element) Determines whether the current node has an attribute with the specified name.
public method HasChildNodes (inherited from Node) Gets a value indicating whether this node has any child nodes.
public method InsertBefore (inherited from Node) Inserts the specified node immediately before the specified reference node.
public method Normalize (inherited from Node) Combines all adjacent text nodes in the full depth of the sub-tree underneath this node.
public method Remove Removes an element from the collection of OPTION elements for this SELECT.
public method RemoveAttribute (inherited from Element) Removes an attribute by name.
public method RemoveAttributeNode (inherited from Element) Removes the specified Attribute.
public method RemoveChild (inherited from Node) Removes specified child node.
public method ReplaceChild (inherited from Node) Replaces the child node oldChild with newChild node.
public method SetAttribute (inherited from Element) Sets the value of the attribute with the specified name.
public method SetAttributeNode (inherited from Element) Adds the specified Attribute.

See Also

HTMLSelectElement Object | DOM Namespace