musman007
May 19th 2008, 4:47 pm
hey y'all,
I am trying to access a control which is a hidden field. from child window. Which I opened with the helpf of ShowModalDialog().
I have tried this on child window.
window.opener.document.forms(0).getElementById("Literal1").value = document.forms(0).getElementById("Literal2").value.
But i am getting an error. window.opener.docoment.forms(0).getElementById(..) is not an object or null.
Please advise how can I access the value of parent control from child window.
Thanks in advance.
I am trying to access a control which is a hidden field. from child window. Which I opened with the helpf of ShowModalDialog().
I have tried this on child window.
window.opener.document.forms(0).getElementById("Literal1").value = document.forms(0).getElementById("Literal2").value.
But i am getting an error. window.opener.docoment.forms(0).getElementById(..) is not an object or null.
Please advise how can I access the value of parent control from child window.
Thanks in advance.