HTML InputHidden
asp.net html 控件
html inputhidden
<script runat="server">
sub submit(source as object, e as eventargs)
hidden1.value=string1.value
p1.innerhtml="hidden value= " + hidden1.value
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
enter some text: <input id="string1" type="text" size="25" runat="server" />
<input type="submit" value="submit" onserverclick="submit" runat="server" />
<input id="hidden1" type="hidden" runat="server" />
<p id="p1" runat="server" />
</form>
</body>
</html>
sub submit(source as object, e as eventargs)
hidden1.value=string1.value
p1.innerhtml="hidden value= " + hidden1.value
end sub
</script>
<!doctype html>
<html>
<body>
<form runat="server">
enter some text: <input id="string1" type="text" size="25" runat="server" />
<input type="submit" value="submit" onserverclick="submit" runat="server" />
<input id="hidden1" type="hidden" runat="server" />
<p id="p1" runat="server" />
</form>
</body>
</html>
相关文章
- ASP.NET Web Pages 文件
- ASP.NET Web Pages WebGrid
- ASP.NET Web Pages Database 参考手册
- ASP.NET WebPages 帮助器参考手册
- ASP.NET Razor 语法
- ASP.NET Razor VB 循环和数组
- ASP.NET MVC 模型
- ASP.NET 事件句柄
- ASP.NET ViewState
- ASP.NET 数据绑定
- ASP.NET DataList 控件
- ASP.NET 数据库连接
- ASP.NET RegularExpressionValidator 控件
- ASP.NET AdRotator 控件
- ASP.NET CalendarDay 控件
- ASP.NET CheckBoxList 控件
- ASP.NET Label 控件
- ASP.NET Panel 控件
- ASP.NET RadioButtonList 控件
- WebSecurity GetCreateDate 方法