• Post Reply Bookmark Topic Watch Topic
  • New Topic

TextArea in Javascript  RSS feed

 
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
Ranch Hand
Posts: 15304
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!