--Collections
|--[collection] options[]
Returns an array of all the options in a dropdown list
--Properties
|--disabled
Sets or returns whether or not a dropdown list should be disabled
|--form
Returns a reference to the form that contains the dropdown list
|--id
Sets or returns the id of a dropdown list
|--length
Returns the number of options in a dropdown list
|--multiple
Sets or returns whether or not multiple items can be selected
|--name
Sets or returns the name of a dropdown list
|--selectedIndex
Sets or returns the index of the selected option in a dropdown list
|--size
Sets or returns the number of visible rows in a dropdown list
|--tabIndex
Sets or returns the tab order for a dropdown list
|--type
Returns the type of form element a dropdown list is
--Standard Properties
|--className
Sets or returns the class attribute of an element
|--dir
Sets or returns the direction of text
|--lang
Sets or returns the language code for an element
|--title
Sets or returns an element's advisory title
--Methods
|--add()
Adds an option to a dropdown list
|--blur()
Removes focus from a dropdown list
|--focus()
Sets focus on a dropdown list
|--remove()
Removes an option from a dropdown list
|--[collection] options[]
Returns an array of all the options in a dropdown list
--Properties
|--disabled
Sets or returns whether or not a dropdown list should be disabled
|--form
Returns a reference to the form that contains the dropdown list
|--id
Sets or returns the id of a dropdown list
|--length
Returns the number of options in a dropdown list
|--multiple
Sets or returns whether or not multiple items can be selected
|--name
Sets or returns the name of a dropdown list
|--selectedIndex
Sets or returns the index of the selected option in a dropdown list
|--size
Sets or returns the number of visible rows in a dropdown list
|--tabIndex
Sets or returns the tab order for a dropdown list
|--type
Returns the type of form element a dropdown list is
--Standard Properties
|--className
Sets or returns the class attribute of an element
|--dir
Sets or returns the direction of text
|--lang
Sets or returns the language code for an element
|--title
Sets or returns an element's advisory title
--Methods
|--add()
Adds an option to a dropdown list
|--blur()
Removes focus from a dropdown list
|--focus()
Sets focus on a dropdown list
|--remove()
Removes an option from a dropdown list
留言