问题描述
在这里,我有一种情况,就是使用javascript进行交叉浏览事件处理的情况.
1.我们在第一"屏幕上有一个模型弹出窗口,当单击模型弹出窗口中的按钮时,会打开一个新的屏幕第二".
2.屏幕"second"具有取消按钮,如果单击取消",则必须关闭"second"屏幕以及第一个屏幕modelpopup.
我们正在使用window.close()关闭第二个"屏幕,同时,我们必须找到第一个窗口modelpopup并将其关闭.
Here I have one scenario, something cross browsing event handling in javascript.
1. We have a modelpopup on a screen ''first'', when click a button which is in modelpopup, opening a new screen ''second''.
2. Screen ''second'' has a button cancel, if click on cancel I have to close the ''second'' screen, as well the first screen modelpopup.
We are using window.close() to close the ''second'' screen, at the same time, we have to find the first window modelpopup and close it.
Can some one please provide the script.
推荐答案
这篇关于关闭第二页点击事件中第一页的modelpopup的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!