Jump to content

Help: Refresh parent window by another parent window


paengski13

Recommended Posts

First parent is the List page.

 

Second parent/New tab is the record I had selected in the First parent (List page).

 

When I update the second parent, the List page should reload.

 

 

Note: Using a child window is not an option based on the specs. :D

So the first page opens the second - "parent" - window?

Yes, that's correct

 

Do you mean you need to use the parent object?

I want to reload the 1st parent (the one who called the 2nd parent) using the second parent.

 

But the problem is, since they are both in the difference instance(new tab), Is it possible to reload the 1st parent window using 2nd parent window?

Yeah I get you, your wording's just a little confusing. The second window would be a child of the first, and logically only considered a parent if it had little baby windows of it's own.

 

Anyway, as I mentioned there's the parent object you can use to interact with the parent window. More specifically parent.opener in this case. So to reload the opener window:

 

window.parent.opener.location.reload();

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.