Key | Description | Availability |
---|
checked | If the element is a radio button or checkbox, specifies whether or not the element is checked. | |
defaultchecked | If the element is a radio button or checkbox, specifies whether or not the element is checked by default. | |
defaultvalue | Specifies the default value for the element text. | |
form | Reference to the form that contains the element. | |
length | Number of options in the options array for the element. | |
name | Name of the element. | |
options | If the element is a Select list, specifies the list of options (as an array) for the element. | |
selectedindex | If the element is a Select list, specifies the index of the selected option in the options array. | |
type | Type of form element the input element is. | |
value | Value of the element when the form is submitted. | |
onblur | Event handler for when focus is moved off the element. | |
onchange | Event handler for when a user changes makes a change element and moves focus off the element. | |
onclick | Event handler for when a user clicks on the element. | |
onfocus | Event handler for when a user gives focus to the element. | |