HBCMS更多的中文手册参考:

value参数属性

DHTML文档教程

Retrieves or sets the text in the entry field of the textarea element.

dhtml语法

htmln/a
scriptingtextarea.value [ = svalue ]

dhtml可能的值

sValueString that specifies or receives the text in the entry field of the element.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

setting this property replaces any existing text in the element.

DHTML代码范例

In this example, when the user clicks the text area, the alert displays the value "This is the value of a TEXTAREA".

<TEXTAREA onclick="alert(this.value)">
This is the value of a TEXTAREA.
</TEXTAREA>

是否符合公共标准

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

TEXTAREA