在JS,我使用:关闭当前弹出窗口并重定向到父窗口
window.open('index.php?module=Contacts&action=UD_lookupemailtemplates&tempmode=userdefined&temp_url='+encodeURIComponent(temp_php_url),'emailtemplate','top=100,left=200,height=400,width=500,resizable=yes,scrollbars=yes,menubar=no,addressbar=no,status=yes')
要打开其中有几个环节的小窗口。 现在对任何一个环节的点击ID将被连接到一个URL,然后我用这个:
window.document.location.href = url;
这也是JS。它所做的是改变小弹出窗口的内容,但我需要它关闭弹出窗口,并在创建弹出窗口的主父窗口中打开此URL。
这可能吗?