Pass Information between two different windows

  • Thread starter Thread starter czuvich
  • Start date Start date
C

czuvich

I am working in ASP.NET 1.1 and I was wondering if it was possible to
have two different windows pass information between each other by the
click of say a button. In other words, let's say I have Window A and
Window B. A is the main application and opens a popup window called B.
I then have a button in B that needs to pass control back to Window A
with some data in the URL and then close itself. Is this possible? If
so.. how?
 
Yes, you can do that wth the help of javaScript. You can access functions of
the parent window with the help of window.opener / window.parent. By that
way you can pass the values as arguments to that function. If you want to
reload that page that too you can with the help of window.opener.href.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top