Javascript TextArea

Kusa
Kusa used Ask the Experts™
on
Hi,
I have a text area with 10 rows * 1 column. If i click any of the element in the row, I need to display another text area with 10 rows * 1 column and the some values should be present in that rows.

could anyone give me the script?

thankyou very much,

Kusa.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
<SCRIPT>
function showform(){
    document.getElementById("myChoices").style.visibility="visible";
}

function hideform(){
    document.getElementById("myChoices").style.visibility="hidden";
}

function OpenNewtext(obj)
{
     tarNew.value = obj.value;
     tarNew.style.display = "block";
}

//  End -->

</SCRIPT>
<BODY>
     <table>
         <tr>
               <td>
               <textarea name="tarTest" onClick="OpenNewtext(this)" rows=10 cols=10>
Man
Machine
               </textarea>
               </td>
         </tr>
         <tr>
               <td>
                    <textarea style="display:none" name="tarNew" onclick="OpenNewtext(this)" rows=10 cols=10>
                    </textarea>
               </td>
         </tr>
         </TBODY>
    </TABLE>
</A>
</form>
</BODY>
</HTML>
Discard the first 2 function, showform() and hideForm()
Top Expert 2013

Commented:
This question has been abandoned. I will make a recommendation to the
moderators on its resolution in a week or two. I appreciate any comments
that would help me to make a recommendation.
<note>
   In the absence of responses, I may recommend DELETE unless it is clear
   to me that it has value as a PAQ.  Silence = you don't care
</note>

Cd&
Top Expert 2013

Commented:
It is time to clean this abandoned question up.  

I am putting it on a clean up list for CS.

<recommendation>
points to son_robin

</recommendation>

If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.

Cd&

per recommendation

SpideyMod
Community Support Moderator @Experts Exchange

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial