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

Click to Rate and Give Feedback
Properties
 value Property
value Property

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

Syntax

HTMLN/A
Scripting[ sValue = ] TEXTAREA.value

Possible Values

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.

Example

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

<TEXTAREA >
This is the value of a TEXTAREA.
</TEXTAREA>

Standards Information

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

Applies To

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