






























//DropDownList 添加客户端事件
<asp:DropDownList ID="DropDownList1" runat="server" onchange ="aa(this.options[this.selectedIndex].innerText)">
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
</asp:DropDownList></div>
//生成的页面代码
</div>
<div>
<select name="DropDownList1" id="DropDownList1" onchange="aa(this.options[this.selectedIndex].innerText)">
<option value="11">11</option>
<option value="22">22</option>
</select></div>
