Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: How to get a window object for the opener of a modal dialog in IE


Message #1 by "Van Knowles" <vknowles@s...> on Fri, 22 Nov 2002 21:23:12
You pass self as second argument in showModalDialog method call.
----- Original Message ----- 
From: "Van Knowles" <vknowles@s...>
To: "JavaScript HowTo" <javascript_howto@p...>
Sent: Friday, November 22, 2002 9:23 PM
Subject: [javascript_howto] How to get a window object for the opener of a
modal dialog in IE


> I am using showModalDialog(myURL) to open a page in a modal dialog.
>
> In myURL.aspx, when I try to access the window.opener property, I am told
> that it doesn't exist.
>
> I am using IE 6.0
>
> What I want to do, really, is have javascript in the modal dialog
> (myURL.aspx) that can reference form fields on the page that opened the
> modal dialog.
>
> Is there any way to do that?
>
> Thanks!
>

  Return to Index