就可以打开你想要的页面;
window.open("ceshi.php?a=1&b=2")
这样可以带参数;
填写第二个参数
window('a.html','浏览器大小工具栏是否显示等')
document.getElementById ("frameID").contentWindow.document.getElementById ('dengru')<iframe id="frameID" height="300" width="500" src="main.html"></iframe>