on select change event - Html.DropDownListFor

后端 未结 3 408
野的像风
野的像风 2020-12-01 05:49

I have two dropdownlist. The selected value from the first one loads the other. How do I do that when I have the helper methods in a controller?

@using (Html         


        
3条回答
  •  自闭症患者
    2020-12-01 05:58

    We can use the jquery to get and fill the dropdown like this:

    
    

    For more detail see MVC DropDownListFor fill on selection change of another dropdown

提交回复
热议问题