1.对于iframe(iframeMain是iframe的ID)
document.all.iframeMain.src="http://www.bokee.com/"; //显示iframe中最后一次刷新得到的内容
document.all.iframeMain.contentWindow.location="http://www.bokee.com/"; //重新刷新iframe的内容
2.对于frame:(window.parent.document代表frame元素所在的网页对象,fraRight是frame的ID)
window.parent.document.getElementById("fraRight").contentWindow.location = node.Target; //显示frame中最后一次刷新得到的内容
window.parent.document.getElementById("fraRight").contentWindow.location = node.Target; //重新刷新frame的内容