开发者

Modify MVC3 Razorview on Change event for @Html.DropDownListFor

开发者 https://www.devze.com 2023-03-27 20:43 出处:网络
I have a razorview with a strong model. On this model there is a @Html.DropDownListFor with a jquery change function linked to it.

I have a razorview with a strong model.

On this model there is a @Html.DropDownListFor with a jquery change function linked to it.

On this change, I'd like to change parts of the view to show different op开发者_开发问答tions available for different selections. This options are fields, checkboxes and hoter dropdownlists for properties in the strong model.

How can I do that?


You might want to try using jQuery Ajax calls on the change event to populate the sections.

Sorry, I'm pressed for time to give a more thorough answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消