Mayur  Gujrathi

Mayur Gujrathi

  • 410
  • 3.9k
  • 1m

Call javascript on dropdown selected index change

Aug 29 2011 6:19 AM
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)