hi i want to pass value between aspx pages. I created one aspx page which acts as parent and another aspx page which acts as child. Now i opened the child page using
window.open(). After the child is opened i passed some value to the parent using
window.opener.document.getElementById().value .here is the code snippet
Parent page:
function open_child()
{
window.open("child.aspx");
}
Child page:
function passvalue()
{
window.opener.document.getElementById("TextBox1").value="hello";
}
The above code works fine when im passing value from normal child(aspx form page) to parent(aspx form page). But the problem is while passing value from child(aspx form page) to parent which is a
content page of a
masterpage. The error i get is
window.opener is null or not an object . Any solution for this error? alternate methods are welcomed!