框架中链接页面,新页面在框架中显示

window.parent.mainFrame.location.href = "xxx.aspx";

mainFrame为要显示页面的框架

原文地址:https://www.cnblogs.com/songling/p/2361337.html