急救asp!!在<%%>里用javascript脚本怎么提交id?
<%
username=request("username")
userid=request("userid")
gs=request("gs")
fangshi=request("zf_fangshi")
jine=request("jine")
set rs=server.CreateObject("adodb.recordset")
sql="select * from money_all"
rs.open sql,conn,1,3
rs.addnew
rs("username")=username
rs("userid")=userid
rs("gs")=gs
rs("zffs")=fangshi
rs("money")=jine
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.Write"<script language='javascript'>" & chr(13)
response.Write"alert('提交成功');" & chr(13)
response.write "window.document.location.href='show_all.asp';"&Chr(13)
response.write "</script>" & Chr(13)
Response.End
%>
当response.write "window.document.location.href='show_all.asp';"&Chr来实现跳转时?我怎么样才能把ID或者以上的username值像
show_all.asp?username=<%=username%>一样把值提交到show_all.asp里面去呢?
请各位告诉指点一下!
参考答案:response.write "window.document.location.href='show_all.asp?username="&username&"'"