思路:用window.showModalDialog方法获取到弹出子窗体的引用,再在子页面用window.returnValue=”***”来返回结果。
示例代码:(用jQuery简化实现)
父页面:parent.html