I have a popup window containing a form which gathers data for a report. When I click submit in that window, I want it to close the popup, and open the report in the original window that called the popup.
我想我可以使用在正确的窗口打开报告
{ :target => <name of window> }
在form_tag
中,但我不知道如何确定或设置始发窗口的名称。
我也不知道如何关闭弹出窗口。