1
Reply

Call javascript on dropdown selected index change

Mayur  Gujrathi

Mayur Gujrathi

Aug 29 2011 6:19 AM
2.6k
I  have a dropdown like tihs
 
<asp:DropDownList ID="cmbexch" runat="server">
 

And trying to call javascript like this.
On page load i am writting this line
cmbexch.Attributes.Add("OnSelectedIndexChanged", "javascript:fillmkttype()")
 

but it is not working

Answers (1)