www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 status Property
status Property

Sets or retrieves the value indicating whether the control is selected.

Syntax

HTMLN/A
Scripting[ bStatus = ] object.status

Possible Values

bStatusBoolean that specifies or receives one of the following values.
falseDefault. Control is not selected.
trueControl is selected.
nullControl is not initialized.

The property is read/write. The property has a default value of false.

Remarks

The status property of the textArea object has a default value of null.

Setting the status property of a textArea object updates the value of the property and causes the onpropertychange event to fire. However, this change has no visual effect on the textArea object.

Example

This example uses the status property to control a check box that is disabled by default.

<INPUT ID=oCheckbox TYPE=checkbox CHECKED DISABLED>
:
<SPAN  
    STYLE="font-weight:bold">I disagree</SPAN>.
<SPAN  
    STYLE="font-weight:bold">I agree</SPAN>.
This feature requires Microsoft® Internet Explorer 4.0 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

There is no public standard that applies to this property.

Applies To

INPUT type=checkbox, INPUT type=radio, TEXTAREA
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG