when I click on link, I open a new window.

Then when I close a new window, I would like that one button on the opener
page(the page from which was new window opened) is clicked or anything else,
do something on the opener page for example:

msgbox window.parent.document.getElementById("lblNaslov").name
This doesn't work, I don't get displayed the id of this element.

When I close the new window I must trigger the click event on the
original,opener page.
How can I do that?

thank you for your answer,
Simon

Re: Trigger the event by Han

Han
Mon Dec 22 19:44:22 CST 2003

You may want showModelessDialog method.

--
Pohwan Han, Microsoft MVP, ASP/ASP.Net, Korea
Have a nice day.

"simon" <simon.zupan@stud-moderna.si> wrote in message
news:OfyXjWKyDHA.2528@TK2MSFTNGP10.phx.gbl...
> when I click on link, I open a new window.
>
> Then when I close a new window, I would like that one button on the opener
> page(the page from which was new window opened) is clicked or anything
else,
> do something on the opener page for example:
>
> msgbox window.parent.document.getElementById("lblNaslov").name
> This doesn't work, I don't get displayed the id of this element.
>
> When I close the new window I must trigger the click event on the
> original,opener page.
> How can I do that?
>
> thank you for your answer,
> Simon
>
>
>