SoFunction
Updated on 2025-04-05

Google Chrome does not support showModalDialog modal dialog

Suddenly, I found that Chrome browser version 37.0.2062.103 m does not support the showModalDialog modal dialog box and cannot return returnValue

The original project cannot be executed normally

I found a compromise solution to use instead of showModalDialog to operate elements of the parent page

Copy the codeThe code is as follows:

("xsp/exesp?todo=13","","height=500,width=280,status=yes,toolbar=no,menubar=no,location=no");

Copy the codeThe code is as follows:

();
("classid").value=treeid;
("classname").value=treename;