Hi Gang!
This is my situation.
I have a form on a parent window that has a button to select a member to send a message to.
That button opens an extensive utility to search members in all sorts of ways and each member found results in a listing and a tiny form button. I need to pass the value in a hidden field of that tiny form button back to the parent window's form and it needs to show up in a visible text box and a hidden form field (the text box is just for show).
I'm generating the popup page with a perl script so this may look a tad strange, escapes are perl necessity: A$resp is a form name that increments from A1 to A[a whole bunch of numbers]
---------------------------------------------------
---------------------------------------------------
I've tried many variations of this. Nothing works. Nothing sends the data from the 'send' field in the popup form to the 'to' field in the parent window's form.
I'm asking if anyone has a solution for this and I thank you very much for your time and effort.
This is my situation.
I have a form on a parent window that has a button to select a member to send a message to.
That button opens an extensive utility to search members in all sorts of ways and each member found results in a listing and a tiny form button. I need to pass the value in a hidden field of that tiny form button back to the parent window's form and it needs to show up in a visible text box and a hidden form field (the text box is just for show).
I'm generating the popup page with a perl script so this may look a tad strange, escapes are perl necessity: A$resp is a form name that increments from A1 to A[a whole bunch of numbers]
---------------------------------------------------
Code:
<script langauge=\"javascript\">
function post_value$resp(){
opener.document.form.to.value = document.A$resp.send.value\;
self.close()\;
}
</script>
<form name=A$resp><input type=hidden name=send value=\"$sendto\"><input type=submit name=to value=\"<\" style=btn style="height:17px;width:17px;font-family:helvetica;font-size:10px;color:#000000" onclick="post_value$resp();">
I've tried many variations of this. Nothing works. Nothing sends the data from the 'send' field in the popup form to the 'to' field in the parent window's form.
I'm asking if anyone has a solution for this and I thank you very much for your time and effort.