<asp:DropDownList ID="title" runat="server" Width="144px" > </asp:DropDownList>我想这样:当DropDownList的选择变化的时候,在客户端触发一个事件 title.Attributes.Add("当选择变化", "turno()")DropDownList:SelectedIndexChanged事件对应的客户端事件是什么?

解决方案 »

  1.   

    好像是onSelectChanged
    要不就是onselectChanged
      

  2.   

    好像是onSelectChanged 
    要不就是onselectChanged
    两个都不行
      

  3.   

    是onchange事件。比如选择头像,在<img>中显示:
    onchange="document.images.avatarpic.src = this[this.selectedIndex].value;"
      

  4.   

    DropDownList:SelectedIndexChanged
    直拉在这里写不行吗?
      

  5.   

    DropDownList:SelectedIndexChanged 
    直拉在这里写不行吗?这样也行
      

  6.   

    <asp:dropdownlist></asp:dropdownlist>是对应的html元素是<select><option>kkk</option></select>,所以它的客户端事件应该是onchange()