请问javascript 怎么获取ASP的变量值??
<%bigclassid=request("bigclassid")response.Write("<scriptlanguage=javascript>")respon...
<%
bigclassid=request("bigclassid")
response.Write("<script language=javascript>")
response.Write("alert('ADD SUCCESSED');")
response.write("window.location.href='managesmallclass.asp?id=';")
response.Write("</script>")
%>
这里window.location.href='managesmallclass.asp?id= 怎么获取bigclassid的值?
谢谢! 展开
bigclassid=request("bigclassid")
response.Write("<script language=javascript>")
response.Write("alert('ADD SUCCESSED');")
response.write("window.location.href='managesmallclass.asp?id=';")
response.Write("</script>")
%>
这里window.location.href='managesmallclass.asp?id= 怎么获取bigclassid的值?
谢谢! 展开
1个回答
展开全部
键盘上的蛤蟆说的不对。
看下面的:
<%
bigclassid=request("bigclassid")
response.Write("<script language=javascript>")
response.Write("alert('ADD SUCCESSED');")
response.write("window.location.href='managesmallclass.asp?id="&bigclassid&"';")
response.Write("</script>")
%>
看下面的:
<%
bigclassid=request("bigclassid")
response.Write("<script language=javascript>")
response.Write("alert('ADD SUCCESSED');")
response.write("window.location.href='managesmallclass.asp?id="&bigclassid&"';")
response.Write("</script>")
%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询