Like GWatt said, this question belongs in the Javascript forum not the Java forum. They are two different things. Having said that, here is your solution that you were looking for. Below is the javascript you include in the page that has been opened (the popup)...
CODE
<script language="javascript">
function copyarea() {
var area = document.getElementById("Question_textarea");
window.opener.openertextarea.value = area.value;
}
</script>
</head>
<body>
<form>
<textarea name="Question_textarea" cols="30" rows="3" id="Question_textarea" ><cfoutput>#rsQuestion_id_que.question_que#</cfoutput></textarea>
<input name="button" type="button" onclick="copyarea()" value="click here." />
</form>
</body>
</html>
Things to note here are the call of a javascript function from the button. In the function we get a reference to the textarea element on the current page, and then through the window.opener reference, we reference the other window and its textarea element called "openertextarea."
We then simply dump the value from this page's textarea into the value of the other textarea on the opener page.
Simple as that!
Enjoy!