11-07-2009, 08:28 AM
Yes it's possible, to acces the HTML form with JavaScript the form needs a name first.
Then you can create your text area and give it also a name,
To control this form, all you need to do is call it by the name.
"value" is what you need.
Code:
<form name="someForm".....
Then you can create your text area and give it also a name,
Code:
<textarea name="someText"......
To control this form, all you need to do is call it by the name.
Code:
document.someForm.someText.value = "Textarea is controled by Aliens";
"value" is what you need.