Hi Bhushan,
To set a hidden form field value, you would use - from the popup window:
Assume that your main form (in the OPENER window) is called "form1, and you a hidden form field called "recipient_list"; I am also assuming your javascript variable is an array of user ids...
Use the following code in the popup window:
...
<input type="button" value="Set Recipients" onClick="window.opener.document.forms.form1.recpient_list.value=recipient_list_array">
...
window.opener points to the window that opened "this" popup window.
Rememeber that the php variable $recipient_list will be a comma-delimited string when received by the following page, so use $recipient_array = explode(',', $recipient_list) to convert to an array if needed.
Regards
Ulrik