• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting text from textarea

 
Kevin Tysen
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about you use .value also.

Eric
 
Kevin Tysen
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic