Home > Article > Web Front-end > Solution to the return value problem of modal dialog box showModalDialog in Chrome_javascript skills
I haven't found a good solution. The temporary solution is to assign the return value to window.opener.ReturnValue in the pop-up window at the same time. In this way, after closing the window, the return value is obtained through the following code: