what i'm trying to do is get the contents of the textarea, which the id is 'reply'.
then onclick of a button, a popup div with id 'layer1' displays the contents of the textarea.
i tried below but it comes up blank. i haven't included the pop up/button code, thats working.
<textarea name="reply" id="reply">testing</textarea>
<div id="layer1"></div>
var newtext2 = document.getElementById('reply').value;
document.getElementById('layer1').innerhtml = newtext2;
so onclick of the button it should display "testing" in the div.