status property (input, textarea)
Returns a Boolean value that indicates whether the current element is selected.
The status property is equivalent to the checked property for input:checkbox and input:radio elements and has no effect for textarea elements. Therefore, use the cross-browser checked property instead.
You can find the related objects in the Supported by objects section below.
This property is read/write.
Boolean or null that specifies or retrieves the status of the element.
One of the following values:
|The element is not selected.|
|The status property has no meaning for the current elemet.|
|The element is selected.|
Example HTML code 1:
This example illustrates the use of the status property:
Did you find this example helpful?
User Contributed Comments