I have this code which contains mixed VBScript and HTML:
IF (x.name="name") THEN
n=x.value
response.write("<tr>")
response.write("<th>Name:</th>")
response.write("<td><input name=""n2"" value=" & n & "></input></td>")
response.write("</tr>")
'...
and I want the to use the content of the input tag inside VBScript in the same file.
I tried this:
<% dim name
name=request.form("n2")%>
but when I tried printing it using Response.Write it will be empty which means it didn't take the current content in the form field.
How to get it in VBScript while being in the same page?