HTML Textarea

asp.net html 控件 

html textarea

<script  runat="server">
sub submit(sender as object, e as eventargs)
   p1.innerhtml = "<b>you wrote:</b> " & textarea1.value
end sub
</script>


<!doctype html>
<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>
相关文章