Ok, the code
<textarea id=txt onclick="fill()"></textarea>
works. But I need fire the procedure with a button pressing, so I use:
<input type="submit" onclick="fill ()">
but the textarea remains blank.
Hi. I like to know how to fill a textarea with a result.
My code use VBSCRIPT :
<textarea name="a" ...
script:
some=frmOne.Text1.value * 2
frmOne.a.value = some
There is no output to textarea, but
some=frmOne.Text1.value * 2
frmOne.a.value = some
msgbox some
"some"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.