There are 3 html pages, which are Parent.html, Child.html and PopUp.html
Child.html is a iframe of Parent.html and PopUp.html is a pop-up window of Child.html
Now, I would like to pass a value from PopUp.html to Parent.html Could I use the code as below to get what I want?
Code:
window.opener.parent.document.form.htmlObject.value = document.form.htmlObject.value;
If I am wrong or there is other better way, please kindly correct me.