如何无刷新的将dropdownlist里的内容赋值到textbox中? 在 onchange 事件里写 这个就可以了, 给分我就告诉你,谁让你不给分了,你小子。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <head runat="server"> <title>无标题页</title> <script type="text/javascript"> function f_Change() { document.all("TextBox1").value += document.all("DropDownList1").value + "|"; } </script></head> <form id="form1" runat="server"> <div> <asp:DropDownList ID="DropDownList1" onchange="f_Change()" runat="server"> <asp:ListItem>1</asp:ListItem> <asp:ListItem>2</asp:ListItem> <asp:ListItem>3</asp:ListItem> </asp:DropDownList> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div> </form> 求一正则表达式 JQuery没有oncontextmenu和onselectstart吗 iframe切换之后为什么不会释放内存? 请帮忙分析一下为什么打开的这么慢 请教,elong.com预订机票的程序问题 如何连接socket并发送信息 如何实现淘宝网上始终保持一个层在底部?如下图 浮动按钮,给分!……………… 怎样用按钮调用Iframe呀 怎么用Javascript做如本网CSDN的这种分版块似的风格 请教 [在线等]如何返回一个对象的实例名
<title>无标题页</title>
<script type="text/javascript">
function f_Change()
{
document.all("TextBox1").value += document.all("DropDownList1").value + "|";
}
</script>
</head> <form id="form1" runat="server">
<div>
<asp:DropDownList ID="DropDownList1" onchange="f_Change()" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
</asp:DropDownList>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></div>
</form>