我现在想打开一个页面
string strUrl = "Showhistory.aspx?name=" + "qinshan";
Response.Write("<script>window.open(\"" + strUrl + "\",\"_blank\",\"\")</script>");我想在页面上传过去的参数是name="qinshan",
而不是name=qinshan
这个该怎么写啊???
string strUrl = "Showhistory.aspx?name=" + "qinshan";
Response.Write("<script>window.open(\"" + strUrl + "\",\"_blank\",\"\")</script>");我想在页面上传过去的参数是name="qinshan",
而不是name=qinshan
这个该怎么写啊???
string strUrl = "Showhistory.aspx?name=\"qinshan\"";
Response.Write("<script>window.open('" + strUrl + "',\"_blank\",\"\")</script>");
Response.Write("<script>window.open(\"" + strUrl + "\",\"_blank\",\"\")</script>");
name="+"qinshan"+"','newwin','height=600,width=500,top=50,left=200 ,status=yes,toolbar=no,menubar=no,location=no')</script>");
没错...接分喽~~~
Response.Write("<script>window.open('" + strUrl + "',\"_blank\",\"\")</script>");