Data transfer between window.open () and window.close () pages

Open a new page with window.open () in the old page, and close the new page with window.close () after the operation of the new page. At this time, how can you detect the closure of the new page on the old page and accept the new page data to refresh the old page?

Mar.03,2021

  

define variables and update the display method in the window of the parent window, then get the parent window through window.opener in the child window, modify the values that need to be updated, update the display of the old window by method before closing the child window, and finally window.close () close the child window (because if you refresh, the values you pass in the past will be available, unless you save to cookie or localStorage)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3d599-2c37b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3d599-2c37b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?