history是相对整个浏览器的,不需要指定具体的窗口,直接:window.].history.back(1);即可,如:<iframe id="preview" name="preview" scrolling="auto" marginwidth="0" marginheight="0" frameborder="0" style="width: 200px; height: 300px; background-color: white" src="http://community.csdn.net/Expert/topic/5596/5596430.xml?temp=.1840174"></iframe>
<input type="button" value="go" onclick="document.frames['preview'].location='http://community.csdn.net/Expert/topic/5597/5597965.xml?temp=.7267572';">
<input type="button" value="back" onclick="window.history.back(1);">
<input type="button" value="go" onclick="document.frames['preview'].location='http://community.csdn.net/Expert/topic/5597/5597965.xml?temp=.7267572';">
<input type="button" value="back" onclick="window.history.back(1);">
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货