| Current File : //home/obabain/anms_obaba_in/AA.html | 
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script>
    function SendValueToParent()
    {
        var myVal = document.getElementById('mytxt').value;
        window.opener.GetValueFromChild(myVal);
        window.close();
        //return false;
    }
</script>
</head>
 
<body>
<form>
Type text here and send it to parent window:
        <input id="mytxt" type="text" />
        <input id="btn1" type="button" value="Send Value to Parent" onclick="javascript:return SendValueToParent();" />
</form>
</body>
</html>