Hello Everyone..

I am developing a jukebox application. I n which I have a list of songs and 2 buttons as "Play All" or Play Selected".

So, when I click "Play All" I am passing array of text called "text" to child window which is a existing file "sample.html" . This sample.html is a child window which has sound controls and images and also a textarea defined as :

Code:
<form name="displayform">
<textarea ID="songlist" cols="40" rows="5" name="itemsbox"  STYLE="position: absolute; top: 600px; left: 160px">
</textarea>
</form>
Now, what I want is to add the array of text "text" into child window's textarea. I have tried with the below code but no success.
Code:
 selwindow = window.open("sample.html", "selwin", "height=0","width=0","status=no");
selwindow.document.displayform.itemsbox.appendChild(textarea);
Pls help...Thank You