web 2.0

How to used ASP & Multiple Textarea

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

ShotDev Focus:
- ASP & Multiple Textarea

Example

asp_multiple_textarea1.asp


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

asp_multiple_textarea2.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim i
i = 0
For Each txtVol in Request.Form("txtDescription")
Response.write "txtDescription " & i & " = <br>" &  Replace(txtVol,vbCrLf,"<br>") & "<hr>"
i = i + 1
Next
%>
</body>
</html>

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

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

Screenshot

ASP & Multiple Textarea

ASP & Multiple 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 ...

One Response to “How to used ASP & Multiple Textarea”

  1. 1pumpkin…

Leave a Reply

You must be logged in to post a comment.