为什么转不过来啊?急用
我的JS如下:windowOpen('MonthCopy.aspx?params='+params+'','292','180');
为什么就是转不到MonthCopy.aspx页面呢? --------------------编程问答-------------------- //单纯的跳转
Response.Write("<script>window.location.href='MonthCopy.aspx?params="+params+"'</script>");
//弹出新页面
<script language="JavaScript">
function opennewwin(url)
{
var opennewwin=window.open(url,"opennewwin","易做图=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=200,left=500,width=330,height=190'");
opennewwin.focus();
return false;
}
</script>
<!--用法-->
<a style="cursor:hand;" onclick="javascript:opennewwin('window.location.href='MonthCopy.aspx?params="+params+"');">点击测试</a> --------------------编程问答-------------------- URL="";
myleft=(screen.availWidth-500)/2;
window.open(URL,"read","height=400,width=550,status=1,易做图=no,menubar=no,location=no,scrollbars=yes,top=150,left="+myleft+",resizable=yes");
或用window.location.href=""; --------------------编程问答--------------------
Up
补充:.NET技术 , ASP.NET