Hi All,
I'm trying to use an asp page to store variables passed to it from another asp page via javascript. The test page looks like this:
I am trying to use the hidden variables passed to this page to run some SQL queries to retrieve some records that will be used to output to an XML document. I guess, I need to create a test xml document using the hidden variables to make sure it works. Then, write the SQL queries to pull the records out prior to creating the xml document. So, what's the easiest way to tackle this problem?
By the way: I have some of the queries written in vbscript already. Will these go at the top of this test page?
Thanks, Todd
I'm trying to use an asp page to store variables passed to it from another asp page via javascript. The test page looks like this:
Code:
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="include/database.asp"-->
<%
TakeID = GetVal("TakeID", 0)
TakeKindID = GetVal("TakeKindID", 0)
LineID = GetVal("LineID", 0)
%>
<form name="test" action="test.asp" method="post" target="_self">
<input type="hidden" id="TakeID" name="TakeID" value="<%=TakeID%>">
<input type="hidden" id="TakeKindID" name="TakeKindID" value="<%=TakeKindID%>">
</form>
I am trying to use the hidden variables passed to this page to run some SQL queries to retrieve some records that will be used to output to an XML document. I guess, I need to create a test xml document using the hidden variables to make sure it works. Then, write the SQL queries to pull the records out prior to creating the xml document. So, what's the easiest way to tackle this problem?
By the way: I have some of the queries written in vbscript already. Will these go at the top of this test page?
Thanks, Todd