chicken.king
04-01-2005, 04:18 AM
Hello
Can I know wheather the value of x can put it back to the textbox after I click the submit button ?
<html>
<head>
<title></title>
<%
function file ()
dim x
x = Request.QueryString("name")
end function
%>
<%
If Request.QueryString("submit") = "CREATE" Then
file()
End If
%>
</head>
<body >
<form action="demo-index.asp" method="get">
NAME:<input type="text" name="name" maxlength="20" /><br/>
<input type="submit" name="submit" value="CREATE" />
</form>
</body>
</html>
Can I know wheather the value of x can put it back to the textbox after I click the submit button ?
<html>
<head>
<title></title>
<%
function file ()
dim x
x = Request.QueryString("name")
end function
%>
<%
If Request.QueryString("submit") = "CREATE" Then
file()
End If
%>
</head>
<body >
<form action="demo-index.asp" method="get">
NAME:<input type="text" name="name" maxlength="20" /><br/>
<input type="submit" name="submit" value="CREATE" />
</form>
</body>
</html>