Dim strCt_no As String
strCt_no = Trim(txtCarton_No.Text)
Response.Write("<script>window.open('PL200_Copy.aspx?Param1=<%=strCt_no%>');</script>")或者
Response.Write("<script>window.open('PL200_Copy.aspx?Param1=‘+strCt_no+');</script>")
都不正确啊
strCt_no = Trim(txtCarton_No.Text)
Response.Write("<script>window.open('PL200_Copy.aspx?Param1=<%=strCt_no%>');</script>")或者
Response.Write("<script>window.open('PL200_Copy.aspx?Param1=‘+strCt_no+');</script>")
都不正确啊
试试
strCt_no = Trim(txtCarton_No.Text)
Response.Write("<script>window.open('PL200_Copy.aspx?Param1=<%=strCt_no%>');</script>") ~~ ~~~
两个百分号不要了。