Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Textarea Prob
#5
Yes it's possible, to acces the HTML form with JavaScript the form needs a name first.

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.
Reply


Messages In This Thread
Textarea Prob - by Scorpion - 11-06-2009, 02:23 PM
RE: Textarea Prob - by Gaijin - 11-06-2009, 06:37 PM
RE: Textarea Prob - by zone - 11-06-2009, 09:28 PM
RE: Textarea Prob - by Scorpion - 11-07-2009, 04:29 AM
RE: Textarea Prob - by Gaijin - 11-07-2009, 08:28 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)