This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes getting text from textarea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "getting text from textarea" Watch "getting text from textarea" New topic
Author

getting text from textarea

Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
Using JavaScript, I want to get the text that a user inputs into a textarea and parse it. What attribute should I use? For a text element, I should use the attribute .VALUE right? How about a textarea?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15379
    
    6
How about you use .value also.

Eric
Kevin Tysen
Ranch Hand

Joined: Oct 12, 2005
Posts: 255
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: getting text from textarea