<input id="Button1" type="button" value="前进"BfwOnclick="document.getElementById('myframe').contentWindow.history.forward();" />有个跨域问题需要在iframe里加入相关的跨域头
<input id="Button2" type="button" value="后退"BfwOnclick="document.getElementById('myframe').contentWindow.history.back();" />
网友回复