This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15376
    
    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
 
Similar Threads
Database Problem.
Please help with textarea formatting issues
How to store the newlines entered by enter key in textarea?
Preserve line breaks in textarea
problem with text area tabspace