How to call javascript function on the change of Dropdown List in ASP.NET MVC?
Create a java-script function:
Create a java-script function:
Call the function:
<%:Html.DropDownListFor(x => x.SelectedProduct,newSelectList(Model.Products,"Value","Text"),"Please Select a product",new{ id ="dropDown1",onchange="selectedIndexChanged()"})%>

I feel really nice reading these articles I mean there are writers that can write good material.
ReplyDeletehere