How can I open a popup with some code and it close by itslef when finish it job? And also reload the page that opened the popup. Confused? So am I . Sorry lol
eg:
Page_1 has a button that open a new window (Page_2) with a form. When I submit that Page_2 form, Page_2 should close and Page_1 refresh by it self too.
Is it possible? Can you link a guide or help me somehow?
Im using, PHP, Javascript.
Thanks
On the parent page you will need a function to load your child page and a function that will reload itself
Now on the popup page you can call the parent function with “opener” like so: