<script  runat="server">
Sub submit(sender As Object, e As EventArgs)
   p1.InnerHtml = "<b>You wrote:</b> " & textarea1.Value
End Sub
</script>


<html>
<body>

<form runat="server">
Enter some text:<br />
<textarea id="textarea1" cols="35" rows="6" runat="server" />
<input type="submit" value="Submit" OnServerClick="submit" runat="server" />
<p id="p1" runat="server" />
</form>

</body>
</html>