my dog learned polymorphism*
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
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