View Full Version : This Is for arnyinc !!!
chapimp
01-14-2003, 10:56 PM
I want to pass a text value from Buttoms to Textarea, but if I wanted the same text value twice I would press the same Buttom twice , in some other examples I had it would not let me repeat the same value
Do you think this is possible<br><br>
<input type="button" value="1">
<input type="button" value="2">
<textarea cols=20 rows=3 >my text area</textarea>:cool:
A1ien51
01-14-2003, 11:37 PM
look at this:
<form name="A">
<input type="button" value="1" name="B1" onclick="document.A.TA.value+=this.value">
<input type="button" value="2" name="B2" onclick="document.A.TA.value+=this.value">
<textarea name="TA" cols="20" rows="3" >my text area</textarea>
</form>
chapimp
01-15-2003, 03:42 AM
:thumbsup:
chapimp
01-15-2003, 04:44 AM
This is the form that I need (passing text values)
Is it possible to pass the value to any of the Textareas I would like to in my page. or for Example:
Lets say I click on the textarea
and I want to pass my buttom value like this:
my text [ buttom value] area
<form name="TA">
<input type="button" value="1" name="B1" onclick="document.TA.A.value+=this.value">
<input type="button" value="2" name="B2" onclick="document.TA.A.value+=this.value">
<textarea name="A" cols="20" rows="3" >my text area</textarea>
</form>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.