Interaction between pages

2

I have a question and would like some tips to update a page through another page.

Example:

On page "A" I have a list of products and a link to page "B"; The "B" page will open in a new tab and have a form to include new products.

I would like to update the "A" page by adding each product (on page "B").

I could create a script for the page to be updated at a predefined interval, but this would increase the server load.

I found a similar example: Diego Doná example , but page A passes commands to page B. I want to do the reverse.

    
asked by anonymous 31.03.2017 / 09:35

1 answer

2

SOLUTION: Following the "Way of the Indies" indicated by @ leo-caracciolo: @lexmihaylov: Send a refresh

Then refresh would be given by the window.opener command that is launched by page B.

    
31.03.2017 / 11:09