webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
HTMLSelectElement Interface Reference

import"HTMLSelectElement.idl";

Inheritance diagram for HTMLSelectElement:
HTMLElement

Public Member Functions

getter HTMLOptionElement item (unsigned long index)
 
HTMLOptionElement namedItem (DOMString name)
 
void add ((HTMLOptionElement or HTMLOptGroupElement) element, optional(HTMLElement or long)? before=null)
 
void remove ()
 
void remove (HTMLOptionElement option)
 
void remove (long index)
 
boolean checkValidity ()
 
boolean reportValidity ()
 
void setCustomValidity (DOMString? error)
 
- Public Member Functions inherited from HTMLElement
void click ()
 
void focus ()
 
void blur ()
 

Public Attributes

attribute boolean autofocus
 
attribute boolean disabled
 
readonly attribute HTMLFormElement form
 
attribute boolean multiple
 
attribute DOMString name
 
attribute boolean required
 
attribute unsigned long size
 
readonly attribute DOMString type
 
readonly attribute HTMLOptionsCollection options
 
attribute unsigned long length
 
readonly attribute HTMLCollection selectedOptions
 
attribute long selectedIndex
 
attribute DOMString value
 
readonly attribute boolean willValidate
 
readonly attribute ValidityState validity
 
readonly attribute DOMString validationMessage
 
readonly attribute NodeList labels
 
attribute DOMString autocomplete
 
- Public Attributes inherited from HTMLElement
attribute DOMString title
 
attribute DOMString lang
 
attribute boolean translate
 
attribute DOMString dir
 
attribute long tabIndex
 
attribute boolean draggable
 
attribute DOMString webkitdropzone
 
attribute boolean hidden
 
attribute DOMString accessKey
 
attribute DOMString innerText
 
attribute DOMString outerText
 
attribute DOMString contentEditable
 
readonly attribute boolean isContentEditable
 
attribute boolean spellcheck
 
attribute boolean autocorrect
 
attribute DOMString autocapitalize
 
readonly attribute DOMStringMap dataset
 

Member Function Documentation

◆ add()

void HTMLSelectElement::add ( (HTMLOptionElement or HTMLOptGroupElement element,
optional(HTMLElement or long)?  before = null 
)

◆ checkValidity()

boolean HTMLSelectElement::checkValidity ( )

◆ item()

getter HTMLOptionElement HTMLSelectElement::item ( unsigned long  index)

◆ namedItem()

HTMLOptionElement HTMLSelectElement::namedItem ( DOMString  name)

◆ remove() [1/3]

void HTMLSelectElement::remove ( )

◆ remove() [2/3]

void HTMLSelectElement::remove ( HTMLOptionElement  option)

◆ remove() [3/3]

void HTMLSelectElement::remove ( long  index)

◆ reportValidity()

boolean HTMLSelectElement::reportValidity ( )

◆ setCustomValidity()

void HTMLSelectElement::setCustomValidity ( DOMString?  error)

Member Data Documentation

◆ autocomplete

attribute DOMString HTMLSelectElement::autocomplete

◆ autofocus

attribute boolean HTMLSelectElement::autofocus

◆ disabled

attribute boolean HTMLSelectElement::disabled

◆ form

readonly attribute HTMLFormElement HTMLSelectElement::form

◆ labels

readonly attribute NodeList HTMLSelectElement::labels

◆ length

attribute unsigned long HTMLSelectElement::length

◆ multiple

attribute boolean HTMLSelectElement::multiple

◆ name

attribute DOMString HTMLSelectElement::name

◆ options

readonly attribute HTMLOptionsCollection HTMLSelectElement::options

◆ required

attribute boolean HTMLSelectElement::required

◆ selectedIndex

attribute long HTMLSelectElement::selectedIndex

◆ selectedOptions

readonly attribute HTMLCollection HTMLSelectElement::selectedOptions

◆ size

attribute unsigned long HTMLSelectElement::size

◆ type

readonly attribute DOMString HTMLSelectElement::type

◆ validationMessage

readonly attribute DOMString HTMLSelectElement::validationMessage

◆ validity

readonly attribute ValidityState HTMLSelectElement::validity

◆ value

attribute DOMString HTMLSelectElement::value

◆ willValidate

readonly attribute boolean HTMLSelectElement::willValidate

The documentation for this interface was generated from the following file: