js跳转页面在新页面打开
Mr_D 2012-04-17 11:22:03 function change() {
var search = document.getElementById("MainContent_txt_searchtxt").value;
window.open("bbssearch.aspx?search=" + search, "_blank", 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=300,height=260,left=300,top=300')
}
我用了上面的代码,结果是在跳转了并在新页面打开了。但是原页面却变成了目录清单。这是为什么呢?有没有其他类似的js跳转页面传参数并在新页面打开的方法?