web 2.0

How to used ASP & Input Textarea

How to used ASP &  Input Textarea This the tutorial/example a scripts how to use ASP & Input Textarea

ShotDev Focus:
- ASP & Input Textarea

Example

asp_textarea1.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<form action="asp_textarea2.asp" method="post" name="form1">
<textarea name="txtDescription" cols="20" rows="3"></textarea>
<input name="btnSubmit" type="submit" value="Submit">
</form>
</body>
</html>

asp_textarea2.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Response.write Request.Form("txtDescription")
Response.write "<hr>"
Response.write Replace(Request.Form("txtDescription"),vbCrLf,"<br>")
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_textarea1.asp

Screenshot

ASP & Input Textarea

ASP & Input Textarea
.
.
.

Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.