我可以在 FF 和 Chrome 的弹出窗口中成功触发父窗口按钮中的单击事件...但是在 IE 中没有任何反应。有什么想法吗?
window.opener.document.getElementById(Client ID Of Button).click();
最佳答案
这适用于 FF $(parent.document.getElementById('clientId')).trigger('click');
关于javascript - 从弹出窗口在父窗口中触发点击事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3822200/