Html Select List: why would onchange be called twice?
- by Mark Redman
I have a page with a select list (ASP.NET MVC Page)
The select list and onchange event specified like this:
<%=Html.DropDownList("CompanyID", Model.CompanySelectList, "(select company)", new { @class = "data-entry-field", @onchange = "companySelectListChanged()" })%>
The companySelectListChanged function is getting called twice?
I am…