我有一个像tihs 下拉 LT; ASP:DropDownList控件的ID ="cmbexch"RUNAT ="服务器"GT 并试图这样称呼的JavaScript。页上的负荷,我写这篇线 cmbexch.Attributes.Add("OnSelectedIndexChanged","JAVASCRIPT:fillmkttype()") 但它不能正常工作| mayur CSHARPĞ
cmbexch.Attributes.Add("onChange", "return OnSelectedIndexChange();") <code> OnSelectedIndexChange()</code> should be your Javascript function that will be call <code>DropDownList </code> Seleted index is changes.
<asp:DropDownList ID="ddShed" Width="120px" onchange="GetBalanceQty(this.options[this.selectedIndex].value);" runat="server"> </asp:DropDownList>