Menu
Hi,
[code]
function ck()
{
//ft.Content.value += ft.ck.value;
//ft.getElementById(‘Content’).value += ft.getElementById(‘ck’).value;
ft.getElementById(‘Content’).innerHTML += ft.getElementById(‘ck’).value;
}
<textarea id=”Content” name=”Content” rows=”5″ cols=”20″></textarea>
<INPUT id=”ck” onclick=”ck()” type=”checkbox” value=”Hello World”>
I want the checkbox value “Hello World” to be appended to textarea by the above js.
However, it said the object does not support this attribute or method.
I guess the textarea does not support value. If so, how should I do it?
Thanks
?