Ok, so maybe I’m doing it wrong..(that’s what she said)…and it would not be the first time.
dojo.byId(‘name’).value fails when using the Html Helper “Html.DropDownList” from ASP.NET MVC PR5 as seen below
1: <%'=Html.DropDownList("", "search_form_filter", ViewData())%>
Er..um…could it just be that dojo.byId does not return the display text when value is not explicitly defined in the dropdown…yeah..that’s probably it.
Related posts: