开发者

On PopupWindowClose, mainpage redirect

I'm working on the following scenario:

  • A butt开发者_JS百科on got clicked in main page.

  • popupWindow show up.

  • A button got clicked in popupwindow.

  • The popupwindow would be closed and the mainpage redirect.

How to do that?


use javascript for this.
use this code in popup window button click .

window.close();
window.opener.location.reload();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜