scriptkeeper
07-21-2003, 07:17 PM
I am just starting to learn ASP and Im playing with this
<html>
<head>
</head>
<body>
<%
postedvalue=Request("nameoffield")
%>
<form name="formname" action="test.asp" method="post">
<input type="text" name="nameoffield">
<input type="submit" value="Post">
</form>
<%
Response.Write(postedvalue)
%>
</body>
</html>
and I was wondering if there is a way to make it append what is posted each time on a new line without overwriting it. Kinda like innerHTML! I know how to do it with JS but im stuck here is it the same?
<html>
<head>
</head>
<body>
<%
postedvalue=Request("nameoffield")
%>
<form name="formname" action="test.asp" method="post">
<input type="text" name="nameoffield">
<input type="submit" value="Post">
</form>
<%
Response.Write(postedvalue)
%>
</body>
</html>
and I was wondering if there is a way to make it append what is posted each time on a new line without overwriting it. Kinda like innerHTML! I know how to do it with JS but im stuck here is it the same?