如何无刷新的将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的Ajax在ie、chrome下可运行,ff无效果 跪求~!急啊!~jsp 怎么用jquery 遍历 json数据?(分不是问题) 求助: 如何XML To String 求正则表达式 超强浮动层 有兴趣的来看看 动态粘贴一个定义好的表格,很急!!! 这个正则 怎么写,谢谢!!!! 请问,怎样打印出细线表格!!! 请给我JAVASCRIPT的所有属性和内部函数 问个算法问题 请教 [在线等]如何返回一个对象的实例名
<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>