asp.net里掉用js的问题,晕了,高手进来指点一下
下面代码为什么不能跳到index.aspx了,没有反映,这是什么问题了
string tt= "qminoa = window.open( ' "+Request.ApplicationPath+ "/index.aspx "+ " ' "
+ ", ' ', 'toolbar=no,menubar=no,titlebar=yes,directories=no,resizable=yes,status=yes,fullscreen=no,top=0;left=0,width=900,height=700 '); ";
Response.Write( " <script language=javascript> ");
Response.Write(tt);
Response.Write( "qminoa.moveTo(0,0); ");
Response.Write( "qminoa.resizeTo(screen.availWidth,screen.availHeight); ");
Response.Write( "window.opener=null; ");
Response.Write( "window.close(); ");
Response.Write( " </script> ");
------解决方案--------------------代码没有问题.