Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TextArea in Javascript

 
kwon yuu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I would like to dynamically update the textarea in javascript. I have the code like this:
//testreply.html

My test.js have the following function:

Portion of my application(interface) is as follow:


But when I run the application, my textarea is still blank.
There is no data being updated. Please HELP!
Is there something I am missing here?
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming you are calling your function at some point, the following different techniques will work:



Although, I only tested in Firefox. By the way, I wasn't sure about this approach so I spent 5 minutes googling and found the answer for you. The internet is littered with thousands of sites showing how to access frames and documents and forms. Where did you look?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic