Please visit our sponsors !
The Textarea object
The Textarea object represents a <textarea> tag in
a document.
Textarea Object Examples
Properties
Property |
Description |
accessKey |
Specifies a keyboard key to access the textarea |
cols |
Sets or returns the width of the textarea (in characters) |
defaultValue |
Sets or returns the default value of the textarea |
disabled |
Sets or returns the disabled property |
form |
Returns the form element to the textarea |
name |
Sets or returns the name of the textarea |
readOnly |
Sets or returns whether the textarea is read
only |
rows |
Sets or returns the height of the textarea (in rows) |
tabIndex |
Sets or returns the tab order of the textarea |
type |
Returns the type of textarea |
value |
Sets or returns the value of the textarea |
Methods
Method |
Description |
blur() |
The textarea looses focus |
focus() |
The textarea gets focus |
select() |
Selects the content of the textarea |
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy.
Copyright 1999-2002 by Refsnes Data. All Rights Reserved
|