asp classic - Newbie need help ASP-HTML -
appreciate if you can help me (newbies).
I have "page.asp" from the server with the following body code:
& lt; Body & gt; & Lt; Input id = "value1" value = '& lt;% = Value1% & gt;' Type = "hidden" /> & Lt; Input id = "value 2" value = '& lt;% = value2% & gt;' Type = "hidden" /> & Lt; Input id = "value 3" value = '& lt;% = value3% & gt;' Type = "hidden" /> & Lt; Input id = "value 4" value = '& lt;% = Value4% & gt;' Type = "hidden" /> & Lt; Input id = "value 5" value = '& lt;% = Value5% & gt;' Type = "hidden" /> & Lt; Input id = "value 6" value = '& lt;% = value 6% & gt;' Type = "hidden" /> & Lt; Input id = "value 7" value = '& lt;% = value7% & gt;' Type = "hidden" /> & Lt; Input id = "value 8" value = '& lt;% = value8% & gt;' Type = "hidden" /> & Lt; H1id = "myHeader" & gt; [& Lt;% = value1%>] [& lt;% = value2%>] [& lt;% = VALUE3% & gt;] [& lt;% = VALUE4% & gt;] [& Lt;% = Value5% & gt;] [& lt;% = Value6% & gt;] [& lt;% = Value7% & gt;] [& lt;% = Value8% & gt;] & lt ; / H1> & Lt; / Body & gt; Question: How should I have written the code html page "page.asp" value
-Newbies -
< Div class = "text" itemprop = "text">
The values can be read by using their related fields (most likely, in your case):
& Lt;% slower myValue1 MyValue1 = Request.form ("value1")%> If you're expecting a then you'll need QueryString <% dd myValue1 myValue1 = Request.QueryString ("Value1")%> You can work with the variable as you like within your code ...
<% dv myV1, myV2 , Answer myV1 = request Query String ("value1") myV2 = Request .QueryString ("Value2") Answer = myV1 + myV2 response. Type (answer)%>
Comments
Post a Comment