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>
相關(guān)文章
- ASP.NET Web Pages HTML 表單
- ASP.NET Web Pages 圖表
- ASP.NET Web Pages – 發(fā)布
- ASP.NET Web Pages WebSecurity 參考手冊
- ASP.NET Razor 標記
- ASP.NET MVC Web 應(yīng)用程序
- ASP.NET MVC 文件夾
- ASP.NET MVC 視圖
- ASP.NET MVC 模型
- ASP.NET 服務(wù)器控件
- 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 方法