autoid = session("autoid")
response.Write "<script lanuage='javascript'>alert('There is the same S/N exist.Please check S/N again.');location='http://hzmot/quick/Equipment/Leased/dealmodify.asp?autoid='+autoid+''</script>"
response.Write "<script lanuage='javascript'>alert('There is the same S/N exist.Please check S/N again.');location='http://hzmot/quick/Equipment/Leased/dealmodify.asp?autoid='+autoid+''</script>"
你把‘+autoid+'改成<%=autoid%>试试看行不,注意标点符号!
未结束的字符串常量
response.Write "<script lanuage='javascript'>alert('There is the same S/N exist.Please check S/N again.');location='http://hzmot/quick/Equipment/Leased/dealmodify.asp?autoid=<%=autoid%>'</script>"
response.Write "<script lanuage='javascript'>alert('There is the same S/N exist.Please check S/N again.');location='http://hzmot/quick/Equipment/Leased/dealmodify.asp?autoid="&autoid&"'</script>"