I can use this to set a text area (selectedtext) value in a form (submitquestion) if Firefox, but it fails in IE.
document.submitquestion.selectedtext.value = txt;
This should work:
<textarea id="bla">from</textarea>
<script type="text/javascript">
document.getElementById("bla").value = "test";
</script>