Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Dec 2002
    Thanked 0 Times in 0 Posts

    Very Complicated "FORM" !!!

    I want to use this form on my webpage,
    for passing values from Buttoms to a Textarea

    This one works but it only passes the value at the end of whatever is on the Textarea.
    I want to be able to pass the value anywhere on the Textarea

    Ex: Right after the word "text" on the Textarea or anywhere,
    and I want the Buttom to read something esle but not whatever
    value it passes on

    <form name="TA">
    <input type="button" value="1" name="B1" onclick="this.form.A.value=this.form.A.value + this.value">
    <input type="button" value="2" name="B2" onclick="this.form.A.value=this.form.A.value + this.value">
    <textarea name="A" cols="20" rows="3" >my text area</textarea>
    Last edited by chapimp; 01-16-2003 at 10:34 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts