Interaction between pages

Asked

Viewed 102 times

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"; Page "B" will open in a new tab and has a form to include new products.

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

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

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

  • 1

    has something on this link (English) http://stackoverflow.com/questions/16853138/send-a-refresh-request-to-another-page-opened-in-the-browser/16853277#16853277

  • @leo-Caracciolo: That’s exactly what I needed, man! I tried to create a variable for page A to be treated on page B, which is given by window.opener. Thank you for the "path to the Indies"!

  • @Lipespry Put the answer to your question and mark it as the ideal one, instead of putting the answer to the question and changing the title.

  • It is good that you have found a solution. Take a look also at the "related" column on the right side, because there are already some questions about this.

  • @Thiago Lunardi: Done! @Sergio: I read the related topics and none satisfied my need. Really, what solved was the window.opener. What made the search difficult was the term for the search. But anyway, thanks for the support! ;)

1 answer

1


Browser other questions tagged

You are not signed in. Login or sign up in order to post.