i am using tow pagge one is parent page and other is child window page for pass the radio button value from child window page to parent page but i have getting error undefined in parent page text fields...

**parent page**

```
<form method="post" action="" name="f1">
<table border=0 width=550>
    <tr>
        <td>
            Your Name
            <input id="OPRID" name="OPRID" type="text" value="<?php echo (isset($_POST

         ['OPRID']) ? $_POST['OPRID'] : ""); ?>" /> 
            <a href="javascript:void(0);" name="My Window Name" title=" My title here "  

   onClick="window.open  
    ('popwindow.php','Ratting','width=650,height=550,0,status=0,scrollbars=1');" />
                Click here to open the child window
            </a>
        </td>
    </tr>
</table>
</form>

**child window page** 

<html>
 <head>

 <script langauge="javascript">
  function post_value(){
  opener.document.f1.OPRID.value = document.frm.OPRID.value;
  self.close();
    }
   </script>
   <form name="frm" method="post" action=''>
  <tr>  
   <td><div align="center">
  <input type="radio" name="OPRID" id="radio" value="<?php echo $objResult ["OPRID"];? 
   >" /></div></td>  
   <td><div align="center"><?=$objResult["OPRID"];?></td>
   <td><div align="center"><?=$objResult["OPRDEFNDESC"];?></td>
   </tr>
    <?  
    }  
   ?>  
    </table>  
  <br />

  <tr> 
  <td><div align="center"> <input type="button" value='Submit' onclick="post_value();"> </div>
   </td>
    </tr> 
    </form>
 but in text fields i have getting undefined error.

```