Example of child pages passing values to parent pages

  • 2020-03-29 23:59:11
  • OfStack

 
<script type="text/javascript"> 
function getValue() { 
var ofrm2 = document.getElementById("TextBox1").value; 
parent.document.getElementById("txbOpID").value = ofrm2 
alert("ie The value result is :" + ofrm2); 

} 

Related articles: