jquery – window.history.back和parent.history.back之间的区别
我正在一个网站上工作,我需要回到我访问过的页面.我在使用parent.history.back.我的一位朋友建议使用window.history.back而不是parent.history.back.我仍然感到困惑.我希望我能得到它们之间的确切区别.提前致谢解决方法window指的是当前帧,而parent指的是当前帧的父节点.因此,在正常情况下使用窗口.在处理iframe时使用parent如果您没