אני רוצה לשים את כל הקוד הבא בתיבה (textarea)
איך אני עושה את זה
HTML קוד:
<script>
<!--
function copy(){
document.two.txt2.value = document.one.txt1.value
}
// -->
</script>
<form name=one>
<textarea name=txt1 cols=20 rows=4></textarea>
</form>
<font face="Ms Sans Serif"><input type="button" value=" העתק " onclick="copy()"></font>
<form name=two>
<textarea name=txt2 cols=20 rows=4></textarea>
</form>