I have a html file test1.html:
<html><head></head>
<body>
<form name="main" action="test2.asp">
id:<input type=text name='id' size=3 value='5'>
<input type=submit>
</form>
</body>
And an ASP file test2.asp:
<% @LANGUAGE="VBScript" %>
<%
response.write("<html><head></head><body>x</body></html>")
response.end
%>
When I open test2.html and submit I get 'test2.asp?id=5'
What I don't understand is why the form value gets in the url as a querystring value. ???
<html><head></head>
<body>
<form name="main" action="test2.asp">
id:<input type=text name='id' size=3 value='5'>
<input type=submit>
</form>
</body>
And an ASP file test2.asp:
<% @LANGUAGE="VBScript" %>
<%
response.write("<html><head></head><body>x</body></html>")
response.end
%>
When I open test2.html and submit I get 'test2.asp?id=5'
What I don't understand is why the form value gets in the url as a querystring value. ???