赞
踩
iframe获取父级跳转
window.parent.location.href=data.msg;
iframe通过iframe里面的元素定位到父级打开新窗口
var temp1 = $("#formid"); temp1.parentElement.ownerDocument.defaultView.open('https://www.baidu.com')