document.frames["frame1"].document.body.innerText = ""; 转载于:https://www.cnblogs.com/lizikang2013/p/4565150.html