iframe跳转,不是他自己,是跳转整个页面。但是要跳去的那个页面需要传querystring,怎么写?
我知道只跳的话,可以这样:
Response.Write("<script>window.parent.window.location.href = 'TheTargetPage.aspx'</script>");但是我想传querystring,这样写不行:
Response.Write("<script>window.parent.window.location.href = 'TheTargetPage.aspx?PID=<%=PID%>'</script>");
传过去的是这个东西<%=PID%>,而不是PID的值。应该怎么写呢?谢谢