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>
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>
相关文章
- ASP.NET Web Pages HTML 表单
- ASP.NET Web Pages 图表
- ASP.NET Web Pages – 发布
- ASP.NET Web Pages WebSecurity 参考手册
- ASP.NET Razor 标记
- ASP.NET MVC Web 应用程序
- ASP.NET MVC 文件夹
- ASP.NET MVC 视图
- ASP.NET MVC 模型
- ASP.NET 服务器控件
- ASP.NET ArrayList
- ASP.NET 母版页
- ASP.NET AdRotator 控件
- ASP.NET CalendarDay 控件
- ASP.NET HyperLink 控件
- ASP.NET Style 控件
- ASP.NET TableCell 控件
- WebSecurity IsAuthenticated 属性
- WebSecurity RequireUser 方法
- WebSecurity UserExists 方法