chapimp
03-20-2005, 07:13 AM
Does anyone has an idea how to
activate the button every time I type something in the textfield. [onkeyup,down,etc]
What this button does is that when it's pressed it passes any value i give it to
the textarea.
<form name="inputForm">
<input type="text" size="10" >
<input type="button" value="button" onClick="JavaScript:document.inputForm['test1'].value+='MY TEXT';">
<textarea name="test1"></textarea></form>
activate the button every time I type something in the textfield. [onkeyup,down,etc]
What this button does is that when it's pressed it passes any value i give it to
the textarea.
<form name="inputForm">
<input type="text" size="10" >
<input type="button" value="button" onClick="JavaScript:document.inputForm['test1'].value+='MY TEXT';">
<textarea name="test1"></textarea></form>