我有这个下拉列表:
@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)"
?
答案 0 :(得分:0)
我想...只是把ng_model =“countryId”然后ng_click =“LoadRegions(countryId)”