aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes TextArea in Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "TextArea in Javascript" Watch "TextArea in Javascript" New topic
Author

TextArea in Javascript

kwon yuu
Greenhorn

Joined: Jul 20, 2010
Posts: 8
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

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TextArea in Javascript