How to pass back value from the window open to parent window

HI,I need some help on javascript how can i get the value came from the window.open then pass the value to the parent window?

Thank you in advance.

Okay if i have this line of code,now when the child window opens,it displays some data in a table,now i want to click the id on the table and bring back the value to the parent window…I am confuse on how to do this.


 function mywindow(myparam){
   window.open('tootherpage.php?id='+myparam,windowoptions);

}



<form>
   <label>Test</label>
  <input type="text" name="test" onclick="mywindow(myparam)">
</form>

Thank you in advance.

Okay i solved it now :slight_smile: