how close modal dialog from the first window

Giganews Newsgroups
Subject: how close modal dialog from the first window
Posted by:  jonsande‚Ķ@yahoo.es (Jonan)
Date: 9 Sep 2003

Hi,
I use JavaScript
I have tree windows.
Jonan1.html has this code  erref1=window.open("Jonan2.html", "mypage",null);
This opens Jonan2.html and it has this code
                        erref=window.showModalDialog("Dialogo.html", null);
This opens Dialogo.html

How can I do to close Jonan2.html and Dialogo.html from Jonan1.html
How can I get the Dialogo.html reference from Jonan1.html.

regards

Jonan

Replies