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 window.open instead of showModalDialog to use window.opener.document to operate elements of the parent page
The code copy is as follows:
window.open("xsp/exesp?todo=13","","height=500,width=280,status=yes,toolbar=no,menubar=no,location=no);
The code copy is as follows:
window.close();
window.opener.document.getElementById("classid").value=treeid;
window.opener.document.getElementById("classname").value=treename;