Accessing parent window form elements
Often we come across scenarios where we have to access the parent window form element. Below is the syntax for accessing the parent element.
Syntax:
top.opener.document.forms[0].elements["hdnStatus"].value = "true";
This solution is cross browser compatible and works in all major browsers.
No comments:
Post a Comment