Hello I use country select from bootstrap form helper but how I can bind this with model? Normally I use
@Html.TextAreaFor(m => m.Attribute, new { @class = "form-control col-md-2", required = "required" })
But here I have only div and I want pass data from select country list to model but dont know how. Anyone can help me?
<div class="bfh-selectbox bfh-countries col-md-3" data-country="US" data-flags="true" ></div>
Try
data-name/nameattribute like: