HBCMS更多的中文手册参考:

status参数属性

DHTML文档教程

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

dhtml语法

HTMLN/A
Scriptingobject.status [ = bStatus ]

DHTML可能的值

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.

DHTML代码范例

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

<INPUT ID=oCheckbox TYPE=checkbox CHECKED DISABLED>
:
<SPAN onclick="oCheckbox.status=false"
STYLE="font-weight:bold">I disagree</SPAN>.
<SPAN onclick="oCheckbox.status=true"
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.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

INPUT type=checkbox, INPUT type=radio, TEXTAREA