<div style="z-index: 10; position: absolute; width: 100; height: 18; overflow: hidden;">
<iframe style="position: absolute; z-index: -1; width: 100%; top: 0; left: 0; scrolling: no;"
frameborder="0" src="about:blank" mce_src="about:blank"></iframe>
<div>
<asp:TextBox ID="txtCurr" Style="width: 160px;" onkeypress="checkfigure()" runat="server"></asp:TextBox></div>
</div>
<asp:DropDownList ID="dpCurr" runat="server" Style="width: 180px;">
</asp:DropDownList>
<iframe style="position: absolute; z-index: -1; width: 100%; top: 0; left: 0; scrolling: no;"
frameborder="0" src="about:blank" mce_src="about:blank"></iframe>
<div>
<asp:TextBox ID="txtCurr" Style="width: 160px;" onkeypress="checkfigure()" runat="server"></asp:TextBox></div>
</div>
<asp:DropDownList ID="dpCurr" runat="server" Style="width: 180px;">
</asp:DropDownList>
本文介绍了一个使用ASP.NET实现的简单文本输入框与下拉菜单的示例。该示例展示了如何在网页中设置文本框的宽度并为其添加键盘事件监听器,同时展示了下拉列表的基本配置。
3511

被折叠的 条评论
为什么被折叠?



