如何将值从DropDownListFor传递给角度函数?

时间:2015-07-01 12:11:37

标签: angularjs asp.net-mvc

我有这个下拉列表:

 @Html.DropDownListFor(m => m.SelectCountryId, Model.Countries, @Translator.Translate("PLEASE_SELECT"), new { id = "CountryID", @class = "form-control", ng_click = "LoadRegions();", @required = "required" })

如何将值m=>m.SelectCountryId传递给 ng_click = "LoadRegions(SelectCountryId)"

1 个答案:

答案 0 :(得分:0)

我想...只是把ng_model =“countryId”然后ng_click =“LoadRegions(countryId)”