R
Ryann
I hate javascript looking for help.
I am trying to pass hidden fields around without showing a query
string in the address bar.
e.g. formA.asp
not formA.asp?var1=blah&var2=blah
I have this going okay so far using forms, hidden fields, and
javascript hyperlinks on most pages.
I have a processing page that currently adds records to a database
then uses the response.redirect method to pass the results to another
page (showing the added records).
e.g.
Response.Redirect "formA.asp?var1=blah&var2=blah"
I want to hide those variables, is there a way that I can submit a
form on the response.redirect or before then, when the records get
added to the database?
e.g.
<%
'Records get added to db
Response.Redirect "javascript:document.form.submit();"
%>
<FORM NAME="form" ACTION="formA.asp" METHOD="post">
<INPUT TYPE="hidden" NAME="Var1" VALUE="<%=Blah%>">
<INPUT TYPE="hidden" NAME="Var2" VALUE="<%=Blah%>">
</FORM>
Thanks in advance.
~E
I am trying to pass hidden fields around without showing a query
string in the address bar.
e.g. formA.asp
not formA.asp?var1=blah&var2=blah
I have this going okay so far using forms, hidden fields, and
javascript hyperlinks on most pages.
I have a processing page that currently adds records to a database
then uses the response.redirect method to pass the results to another
page (showing the added records).
e.g.
Response.Redirect "formA.asp?var1=blah&var2=blah"
I want to hide those variables, is there a way that I can submit a
form on the response.redirect or before then, when the records get
added to the database?
e.g.
<%
'Records get added to db
Response.Redirect "javascript:document.form.submit();"
%>
<FORM NAME="form" ACTION="formA.asp" METHOD="post">
<INPUT TYPE="hidden" NAME="Var1" VALUE="<%=Blah%>">
<INPUT TYPE="hidden" NAME="Var2" VALUE="<%=Blah%>">
</FORM>
Thanks in advance.
~E